Hello, Do you have any info or experience about th...
# compose-desktop
n
Hello, Do you have any info or experience about the current status of "gestures" support in Compose/Desktop? https://developer.android.com/jetpack/compose/gestures#multitouch
e
there's no multitouch support in Swing, so unless CfD changes the underlying framework I'm not sure how that could work
🙏 1
n
@ephemient Thanks. What about simple gestures like drag/swipe? Are they supported on desktop?
g
standard modifiers from androidx.compose.foundation.gestures should work
🙏 2
e
Modifier.draggable
and
PointerInputScope.detectTransformGestures
are both in common. I haven't tried but I expect
detectTransformGestures
may provide you with panning but not rotation and zoom on desktop: https://github.com/JetBrains/compose-jb/issues/1953
🙏 1
d
I used draggable in my app to scroll using touchscreen, it works well
🙏 1