https://kotlinlang.org logo
Title
c

Christoph Wiesner

06/24/2022, 7:18 AM
I want to “reveal” a bottom sheet like content once the user scrolls beyond the end of a
LazyColumn
Showing that content should behave like a bottom sheet (collapsing or expanding if too little/enough drag) Using
nestedScroll
and
swipeable
seems the way to go but I’m struggling as the List also needs to be full-height and nesting vertically scrollable maxHeight layouts is disallowed. Any ideas?
j

jossiwolf

06/24/2022, 10:11 AM
@Andrey Kulikov
🙏 1
a

Andrey Kulikov

06/24/2022, 1:58 PM
I don’t think this is a use case we support unfortunately. Feel free to file a feature request
c

chatterInDaSkull

06/24/2022, 4:55 PM
Is this the reverse of a backdrop scaffold?
c

Christoph Wiesner

06/27/2022, 5:15 AM
@Andrey Kulikov so building sth like this is currently not possible at all? or just not supported by any components out of the box?
just came across this video explaining why you cannot nest same-direction elements:

https://www.youtube.com/watch?v=1ANt65eoNhQ&t=899s

a

Andrey Kulikov

06/27/2022, 12:02 PM
No, I think it should be doable via nested scrolling api. I just recommended to file a bug so in the bug we can discuss it in more details
c

Christoph Wiesner

06/27/2022, 12:57 PM
filed here - thanks
@Andrey Kulikov i’d appreciate if you could have a look at the filed issue and see if my solution could be change to support the dynamic height of the bottom sheet rather using a fixed height.