I love the new M3 ModalBottomSheet api compared to...
# compose-android
a
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
ive been using this until m3 is improved https://github.com/oleksandrbalan/modalsheet