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

Travis Griggs

10/10/2023, 4:39 PM
Is there not a way to have both a
.scrollable()
modifier as well as a
.pointerInput { detectTransformGestures ... }
on the same composable? Im finding that whichever is second blocks the first out. transform supports pan, but doesn't have fling behavior which is desirable for my case. And all I really want from the transformGestures is vertical pinch (not rotation or pan)
e

efemoney

10/12/2023, 3:36 PM
See here https://issuetracker.google.com/issues/269149850 The “fix” iiuc might be to disable one in favor of the other, eg disable scroll mod, when two finger gesture is recognized