nativescript-community / ui-material-components

Monorepo that contains all of the NativeScript Material Design plugins.
https://nativescript-community.github.io/ui-material-components/
Apache License 2.0
218 stars 80 forks source link

[bottomSheet] Landscape the height does not work in Android #377

Closed zeejay09 closed 2 years ago

zeejay09 commented 2 years ago

I have this problem, I set the height of the bottom sheet to 500 from 200. The code is just like the one in the readme. In portrait it looks okay: image

However, when in landscape, the height does not take effect: image

And if I changed it back to 200 or removed the height entirely, in landscape, it shows the same. I also tested this on a tablet, still the same in landscape.

The emulator is Android 10 and the Tablet is Android 11.

farfromrefug commented 2 years ago

@zeejay09 sadly it seems to be an issue with the native lib. you can try and reproduce in an android native app.and report it in the android material repo

zeejay09 commented 2 years ago

@farfromrefug yeah that was what I was thinking also. Will report it to them, thanks.