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

Nikos Kermanidis

01/14/2022, 4:08 PM
Hello folks, I am using
SwipeToDismiss
within a
LazyColumn
and facing an issue where the nestedScroll doesn’t work.
SwipeToDismiss
seems to consume the scrolling event without giving the parent (
LazyColumn
) a chance to consume the event. Removing the
SwipeToDismiss
fixes the issue. Basically the problem is described by someone else here https://stackoverflow.com/questions/70570319/swipetodismiss-nestedscroll-does-not-work-well-together-jetpack-compose For what it’s worth, I am using this gist https://gist.github.com/chrisbanes/053189c31302269656c1979edf418310 for enabling interoperability with the view system. Works fine without the
SwipeToDismiss
. I am trying to understand if this is a bug or I am missing anything.
c

cb

01/18/2022, 9:25 AM
Sounds like a bug to raise on the tracker.
n

Nikos Kermanidis

01/18/2022, 9:27 AM
Thank you for your response! I will raise a bug today. And thank you for the gist, it was very helpful and works great without the
SwipeToDismiss
.
5 Views