Should/could nesting scrolling interop between com...
# compose
g
Should/could nesting scrolling interop between compose and non-compose content? A colleague of mine has nested Compose content inside of an existing screen View-based bottom sheet, and is only finding out after building it that scrolling is completely broken
m
It definitely should ideally! Unfortunately, this won't be ready for 1.0, but it's actually should be doable with the public API with a bit of work
👍 1
g
Any workarounds possible? Or is his best bet to rewrite without compose?
m
The only workaround I can think of is to insert the
Modifier.nestedScroll
at the root of the compose hierarchy and manually proxy nested scroll calls to the bottom sheet or any other NestedScrollParent that they have in views
g
thanks Matvei, that's worth a shot
m
No problem, let me know how it went 🙂
g
We got it to work pretty well lol. Very hacky, but hey, it's hopefully a temporary solution