I do not know, if that is intended behaviour or bu...
# compose
p
I do not know, if that is intended behaviour or bug, but detectGesture has change from alpha12 to beta01 for scrollable widgets. I have a BottomSheetScaffold, where bottomSheet is a
Column(modifier.verticalScroll)
, additionally I got a
.pointeInput
on it to detect when the dragGesture (scroll) actually happens. In alpha12, the dragGesture was detected on that column, but on Beta01, the
detectVerticalDrag
is never called. However , if the
.pointerInput
is called on child composable of that column, everything works fine. Is that a bug or intended behavior for scrollable columns? (Tested also for LazyColumns, which works exactly the same.
In case, someone will search this chat for an answer: The order of modifiers matter now (in beta01).
pointerInput
works properly, if it is called after
.verticalScroll()
, not before as it was in previous versions of compose.