Comments (5)
Seems I finally figured out what was wrong with longpress: 86ef72a#diff-b16682bd3eb1da07c1f0a38594edb354R37
Closing this
from react-native-gesture-handler.
I think that's actually an issue with simulator only. I think that long press recognizer under the hood works in response to touch event stream that may be paused when you hold your mouse on the button in simulator. Whereas with the real devices there are always some subtle differences even if you try to hold the finger still so new events would arrive. I noticed it some time ago. You don't actually need to lift the finger, it is sufficient to hold it for a while and then slightly move and the dialog will pop up. I also tested that it works flawlessly on device. On top of that I verified that it's UILongPressGestureRecognizer not calling action handler until there is some (even unnoticeable small) movement
from react-native-gesture-handler.
This may be related: http://markmail.org/message/ij2y4qmax6squ5dd
from react-native-gesture-handler.
It also works fine if you use a touchpad instead of a mouse.
@brentvatne do you hit this problem on device or simulator?
from react-native-gesture-handler.
@brentvatne I wonder is the scroll + cancel event issue was maybe related to this bug report. When you have time can you check if you still encounter this after the fix has landed?
from react-native-gesture-handler.
Related Issues (20)
- Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' could not be found. HOT 31
- Tap gesture with multiple pointers fail to start on `2.15.0` HOT 7
- Updating a SharedValue in useAnimatedScrollHandler -> onScroll does nothing HOT 1
- ReferenceError: __DEV__ is not defined HOT 5
- iOS app crash on tap onTouchesUp/onTouchesDown HOT 6
- Svg Image pointerEvents="none" not working on Android HOT 1
- Fatal Exception: com.facebook.jni.CppException: Exception in HostFunction: [Reanimated] Attempted to extract from a HostObject that wasn't converted to a Shareable. HOT 3
- Android: touch events are executed twice when talkback is enabled HOT 6
- Privacy manifest file for ios HOT 2
- Get wrong, negative value from e.absoluteY on Android HOT 1
- Android app crashes while composing different number of pointer taps in Gesture.Exclusive HOT 6
- Android only: after installing the package the build fails, when the app already runs the package works and its great HOT 3
- Pinch gesture focalX & focalY truncated on iOS HOT 2
- GestureDetector must be used as a descendant of GestureHandlerRootView. Otherwise the gestures will not be recognized HOT 9
- Application crashing after changing component tree HOT 2
- React Native App crashes without error message when GestureDetector appears HOT 6
- RNGH 2.16.0+ only supports React Native >=0.68.0 (Android) HOT 1
- Expo app crashes when using GestureDetector HOT 9
- TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' could not be found HOT 12
- Unable to resolve "./TouchableNativeFeedback" from "node_modules/react-native-gesture-handler/src/components/touchables/index.ts" HOT 1
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 react-native-gesture-handler.