FlexibleBottomSheet appears on top of appdrawer in KMP project
- Library Version [latest main branch as of April 2025: 0.1.5]
- Affected Device(s) [All devices (issue observed on Compose-only screens across different emulators and real devices]
The FlexibleBottomSheet appears above all the UI components in KMP project.
The FlexibleBottomSheet appears above the App Drawer in a Compose-only screen setup. This results in a bad user experience, as the bottom sheet is rendered over important UI components instead of being properly layered within the content hierarchy. Upon checking the implementation, the underlying use of the Popup API seems to cause the bottom sheet to render on top of all other UI elements, rather than behaving like a typical in-layout bottom sheet.
The FlexibleBottomSheet should behave like a standard bottom sheet in Compose: It should appear above the content but below system-level components like the App Drawer or Scaffold drawer. It should integrate naturally into the screen's layout hierarchy, without feeling like a floating popup detached from the rest of the UI.