Handler for tag 1 does not exist
See original GitHub issueHi,
I got this error using PanGestureHandler.
My code looks like:
<PanGestureHandler enabled maxPointers={1} onGestureEvent={this.handleEvent}>
<Animated.View { ...someStuff }>
</Animated.View>
</PanGestureHandler>
Am I missing something ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Handler for tag 1 does not exist · Issue #182 - GitHub
Hi, I got this error using PanGestureHandler. My code looks like: Am I missing something ?
Read more >React Native: Animated node with tag 1 does not exists
Im not event using the Animated Tag in any of my code so why do I get this error. This is my package.json...
Read more >EC2 instance launch failures - Amazon EC2 Auto Scaling
This page provides information about your EC2 instances that fail to launch, potential causes, and the steps you can take to resolve the...
Read more >Unknown Prop Warning - React
The unknown-prop warning will fire if you attempt to render a DOM element with a prop that is not recognized by React as...
Read more >Getting Started | React Native Gesture Handler
The Expo SDK incorporates the latest version of react-native-gesture-handler available at the time of each SDK release, so managed Expo apps might not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@osdnk I have the same issue (on Android). I have investigated this problem and found, that createGestureHandler method have invoked after attachGestureHandler method. Other words, library try to attach gesture handler that doesn’t exist yet. It is happening because of “setImmediate” method in componentDidMount. So when app started, componentDidMount was invoked, and then componentDidUpdate was invoked immediately (because of redux action in componentDidMount). When i insert console.log into GestureHandler.js file, i see the following sequence of methods invocation:
When i remove redux actions from componentDidMount, i haven’t error
@kmagiera can confirm it works, thank you!