software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.12k stars 982 forks source link

Natural swipe behaviour with touchpads #1100

Closed robertherber closed 1 month ago

robertherber commented 4 years ago

I'm looking for a natural behaviour on touchpads. Using the PanResponder requires pressing down on the touchpad and dragging while pressing - whereas I feel the natural behaviour would be swiping with two fingers. This is the case for both on the web implementation as well as natively on the iPad touchpad.

I'm building an implementation on top of ScrollView now - it's not fully optimal but the only way I've found to get a natural swipe on touchpads (and works for both iPad with touchpad and the web). The best would be if PanResponder would support this pattern out of the box with a configuration flag.

jakub-gonet commented 3 years ago

Implemented in #1128.

robertherber commented 3 years ago

Implemented in #1128.

Yeah, for iPad! ;) Web would still be an open feature request! :)

jakub-gonet commented 3 years ago

Oh, right. Reopening :>

j-piasecki commented 1 month ago

This looks like a duplicate of https://github.com/software-mansion/react-native-gesture-handler/issues/800.

robertherber commented 1 month ago

@j-piasecki Looks very much so.. 🤦‍♂️😂