https://kotlinlang.org logo
#compose-android
Title
# compose-android
a

Andy Himberger

03/24/2023, 4:13 AM
I love the new M3 ModalBottomSheet api compared to what you had to do in m2, and we started using it in our app but pretty quickly realized it is not displaying correctly on a lot of devices and device orientations... any suggestions on workarounds or just need to wait for fixes in m3?
Cases where its behind the system nav bar, or even on my pixel4a in landscape where there is no bar on the 'bottom' of the screen it is just too small. Strangely it happens on my physical device but not am emulator on the same API level -- so it seems hard to attempt a workaround by adding some extra padding at the bottom -- any ideas or just waiting for a fix? I created this in issuetracker with some of the cases we noticed it broken in -- https://issuetracker.google.com/issues/274872542
c

Colton Idle

03/26/2023, 2:27 PM
ive been using this until m3 is improved https://github.com/oleksandrbalan/modalsheet
13 Views