maxkeppeler / sheets-compose-dialogs

✨ Enhancing Android UIs: A Jetpack Compose Library supporting a wide range of common use-cases with Material Design 3 Dialogs, Popups, and Bottom Sheets. ✨
https://maxkeppeler.github.io/sheets-compose-dialogs/
Apache License 2.0
807 stars 38 forks source link

[Feature] Provide Bottom Sheets #59

Closed russellbanks closed 9 months ago

russellbanks commented 1 year ago

Bottom sheets were introduced in Material3 1.1.0. It would be nice to have bottom sheets from this library rather than using the view counterparts embdedded in bottom sheets.

maxkeppeler commented 1 year ago

I partially started doing this already for Popups and Bottom Sheets. I want to have it added soon.

maxkeppeler commented 1 year ago

I'm having a hard time making the UseCaseState and the SheetState work together. Even after I hide the bottom sheet, something seems to be blocking all the clicks. I can't figure out why this is happening, so I won't include it in the next version. See the related branch feature/bottom_sheets if you are curious.