https://kotlinlang.org logo
#compose
Title
# compose
j

Julius Marozas

07/15/2020, 1:34 PM
I have noticed that there's no persistent bottom sheet composable. Are there any plans to implement it?
m

matvei

07/15/2020, 1:39 PM
Persistent or not, we have plans to support BottomSheet in the future 100% 🙂 In fact, we already kind of have it with
BottomDrawerLayout
you can just tweak it and have the behaviour you want
j

Julius Marozas

07/15/2020, 1:46 PM
Yeah, I have seen
BottomDrawerLayout
, but couldn't figure out how to use it to achieve this persistent effect. Specifically, I want a portion of the sheet to appear at the bottom, while the content above it should stay interactive. (Image from https://material.io/components/sheets-bottom#anatomy)
m

matvei

07/15/2020, 1:49 PM
Got it. We don't have this kind of things out of the box now, but at some point I think we will, as it's very popular widget, we'll see 🙂 As I mentioned, in the meantime, if you want to have it, you can build your own. We have all the necessary pieces online and it should be fairly straightforward if you take a look at the
BottomDrawerLayout
internals 🙂
j

Julius Marozas

07/15/2020, 1:52 PM
Ok, I will take a look at the implementation of the bottom drawer. Maybe I will post my implementation here if I come up with something. Thanks for the quick reply! 🙂
👍 1