🐬 Advanced Compose Multiplatform bottom sheet for segmented sizing, non-modal type, and allows interaction behind the bottom sheet similar to Google Maps.
Apache License 2.0
791
stars
36
forks
source link
Popup Placement is Inconsistent in FlexibleBottomSheet #50
Tested on API 30 (Samsung S23) and API 34 (Pixel 7a).
In my FlexibleBottomSheet, I am showing a Popup (in my example code the Popup/tooltip can be shown when holding/pressing on the button).
1.
When isModal is set to false, the tooltip does not remain in place consistently in all of its "expanded/slightly-expanded" layouts:
After sliding the bottom sheet: (Notice the offset between the button)
2.
When isModal is set to true, and comparing to Material 3's ModalBottomSheet and BottomSheetScaffold, the Popup has an unexpected offset (the offset is not happening in the Material 3's ModalBottomSheet and BottomSheetScaffold).
Tested on API 30 (Samsung S23) and API 34 (Pixel 7a).
In my FlexibleBottomSheet, I am showing a Popup (in my example code the Popup/tooltip can be shown when holding/pressing on the button).
1. When isModal is set to false, the tooltip does not remain in place consistently in all of its "expanded/slightly-expanded" layouts:
After sliding the bottom sheet: (Notice the offset between the button)
2. When isModal is set to true, and comparing to Material 3's ModalBottomSheet and BottomSheetScaffold, the Popup has an unexpected offset (the offset is not happening in the Material 3's ModalBottomSheet and BottomSheetScaffold).
Flexible Bottom Sheet (isModal = true):
Material 3 BottomSheetScaffold:
Material 3 ModalBottomSheet:
Here is my relavant code: