Comments (4)
I don't think a reproducer is necessary in this example, but I can create it on further request.
Please do. It will save us time when we get to investigating this issue
from react-native.
I don't think a reproducer is necessary in this example, but I can create it on further request.
from react-native.
Have added a reproducer: https://github.com/AndriusZal/44594-Reproducer
Within the Metro you will notice that when you touch move, the log will print a message with a counter. This counter resets when touch ends. The issue occurs when dragging is recognized by native recognizer within scroll view and touch move event is replaced with dragging event and scroll is happening. Then the touch is cancelled and we are not getting the touch end event. We can trigger touch cancelled event, but I still need to see all touch move events which are happening during drag.
I don't mind to providing the fix myself, I just might need some backstory why this approach is chosen.
from react-native.
My comment maybe unrelated to the above issue but I have a doubt regarding the usage of onChildStartedNativeGesture
. Is this method supposed to be called by the framework or can this be manually called as well ? I have a use case where I have react native views on top of native views. Whenever a touch event is intercepted by ReactRootView
it starts dispatching it to JavaScript but if that touch event is to be handled by one of my Native Views, I only want the Native Views to handle it. But in the correct scenario due to this implementation, it ends up being handled by both. How do I handle this gracefully ?
from react-native.
Related Issues (20)
- Undefined symbol: _OBJC_CLASS_$_RCTRootView - Linker command failed with exit code 1 (use -v to see invocation)
- React native downloading react-android-0.74.1-debug.aar again and again wtih so slow speed HOT 3
- Modai from "react-native" crashes the App in iOS. Works fine in android HOT 2
- react-native-xcode.sh doesn't filter out link local addresses correctly HOT 5
- Reloading a dev app rapidly crashes the app HOT 11
- Last FlatList item component re-mounted when adding new elements at the beginning of the list
- Installing hermes-engine (0.74.1) HOT 1
- On Android horizontal Animated.ScrollView, animated children with a transform: translate are not pressable correctly HOT 3
- Packaging failure HOT 2
- Wrong orientation width and height values on iPad only, HOT 4
- React native webview image download without external storage permission HOT 2
- Is it possible to use have an Android library as the native module of a React Native project? HOT 16
- Calling JS callback asynchronously from C++ thread. HOT 3
- Error with react-native-compat + Expo Go crashes on iOS when trying to create a Web3Wallet instance HOT 3
- Layout breaks when UIContextMenuInteraction is used with the new architecture
- NullPointerException: Attempt to invoke virtual method 'JavaTimerManager$IdleCallbackRunnable.cancel()' on a null object reference HOT 4
- Cycle in dependencies between targets ‘XYZ' and ‘XYZ_appTests' in Xcode for React Native project on macOS HOT 3
- 🐛 TextInput:Function components cannot be given refs HOT 4
- iOS textContentType suggestion are trimmed with maxLength, and can't be overridden. HOT 2
- Production Crash - Fatal Exception: java.lang.UnsatisfiedLinkError HOT 3
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.