skydoves / FlexibleBottomSheet

🐬 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
687 stars 30 forks source link

StatusBar dim is not Showing #28

Closed easyhooon closed 4 weeks ago

easyhooon commented 2 months ago

Describe the Bug: In the case of M3 ModalBottomSheet, Dim processing is possible in the Status Bar area when BottomSheet is on the screen by specifying windowInsets = WindowInsets(top = 0). But FlexibleBottomSheet not working by by specifying windowInsets = WindowInsets(top = 0).

Add a clear description about the problem. M3 ModalBottomSheet FlexibleBottomSheet

full code is here. https://github.com/Project-Unifest/unifest-android/blob/develop/core/ui/src/main/kotlin/com/unifest/android/core/ui/component/FestivalBottomSheet.kt

Expected Behavior: I hope dim processing is applied to the Status Bar area.

skydoves commented 4 weeks ago

Hi @easyhooon, sorry for the delayed response. You can check out the sample1 code for dimming the status bar while you're displaying the bottom sheet like the given screenshot below:

Screenshot 2024-06-06 at 2 45 20 PM

If you are still facing the same issue after referring to the code, please re-open it. Thanks!