Comments (10)
Looking at the react-native-gesture-handler docs and examples and it's sooo much more complex than this library for simple use cases.
React Native support would be welcome regardless of the work being done on react-native-gesutres even as an abstraction over it. The API for this library is just superior.
from use-gesture.
Reach out to the author of react-native-gesture-handler
It looks like they are working on web support for react-native-gesture-handler
here: Web Support #555
from use-gesture.
Reach out to the author of react-native-gesture-handler
from use-gesture.
Would you send in a PR for this? The code is small and It's just a bunch of events so it should be relatively straight forward to extend. I don't use RN so much that i know it.
from use-gesture.
Need this also.
from use-gesture.
problem is that i don't work with RN personally atm, i just don't know the api.
from use-gesture.
@brunolemos @daryl so this will soon happen, i will make it work with react-three-fiber so it has to be made cross platform, which then includes react-native. do you have any ideas how we can pull this off? i guess it needs to know some platform specifics, and the platform has to support start/move/end semantics.
from use-gesture.
I don't have experience with gestures but you'll probably need to use this api: https://facebook.github.io/react-native/docs/panresponder
from use-gesture.
Using a View
, without using a ref, you can use {...bind()}
or similar, for now, and it works with https://github.com/necolas/react-native-web
from use-gesture.
@danieloi That's always good to hear! Unfortunately I have zero knowledge about React Native, maybe @thephoenixofthevoid can help?
from use-gesture.
Related Issues (20)
- Using modifierKey causes the mac pinch event to return HOT 2
- Using pointer.touch cannot be dragged under windows system HOT 6
- useDrag breaks onClick listener in React portal to shadow dom HOT 2
- using video element inside useDrag component doesn't allow the video to play/pause using single click over the video HOT 6
- DragBounds ignored when rerender target HOT 1
- dynamically updating useDrags axis option resets movement : [mx,my] HOT 2
- Using alt+left for navigation prevents all gestures on elements with axis: 'y'
- Drag gesture: Delay setting behavior does not adhere to documentation HOT 4
- Drag + Click + filtertaps option breaks onclick listener. Drag + Click + Treshold works. HOT 1
- touch-action: pan-y prevents L shaped gestures to scroll
- onPinch breaking on control + scroll HOT 5
- Where do I import a3f from? HOT 1
- Getting the error "a3f is not defined"
- Textarea doesn't work inside gesture container HOT 4
- Documentation website is broken (in firefox) HOT 8
- Type error with @types/react >=18.2.66
- (Firefox) Click event fired on drag end
- 100ms delay between pointermove events in Android webviews? HOT 1
- [@use-gesture/vanilla] Touch event was abnormally interrupted. HOT 1
- The codesandbox example has TypeError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from use-gesture.