nativescript-community / nativescript-community/ui-material-components

ignoreTopSafeArea and ignoreBottomSafeArea for andriod

Open
#479 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
233
Forks
81
Avg merge
6h 18m
Merged PRs (30d)
1

Description

Hello, I would like the ignoreTopSafeArea and ignoreBottomSafeArea parameters to also be available for Android, not only iOS. The problem now is that the modal window calculates insets (https://developer.android.com/develop/ui/compose/system/material-insets?hl=ru#override-default) and the window does not appear on the entire screen. Maybe there are some other solutions?

https://skrinshoter.ru/sVMlP42bTDF
https://skrinshoter.ru/sVMmU8YNV5f

Using "@nativescript-community/ui-material-bottomsheet": "^7.2.61" and "@nativescript/android": "~8.8.6" (on the latest version it works the same way)

Device (emulator) Pixel 9 Pro XL, 36 SDK

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the @nativescript-community/ui-material-bottomsheet package and the Android Material insets documentation linked in the issue; compare how ignoreTopSafeArea and ignoreBottomSafeArea currently work on iOS. Trace the Android modal window's inset calculation and verify that both parameters can control full-screen rendering on the reported Android setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.