onHandlerStateChange not firing sometimes on iOS
See original GitHub issueExpected behavior
On Android, the events fire as expected.
15:39:42.515: { id: 'scroll',
15:39:42.515: oldStateName: 'UNDETERMINED',
15:39:42.515: newStateName: 'BEGAN' }
15:39:42.519: { id: 'drawer',
15:39:42.519: oldStateName: 'UNDETERMINED',
15:39:42.519: newStateName: 'BEGAN' }
15:39:42.521: { id: 'masterdrawer',
15:39:42.521: oldStateName: 'UNDETERMINED',
15:39:42.521: newStateName: 'BEGAN' }
15:39:42.570: { id: 'drawer', oldStateName: 'BEGAN', newStateName: 'ACTIVE' }
15:39:44.797: { id: 'scroll', oldStateName: 'BEGAN', newStateName: 'ACTIVE' }
15:39:44.800: { id: 'masterdrawer',
15:39:44.800: oldStateName: 'BEGAN',
15:39:44.800: newStateName: 'FAILED' }
15:39:49.217: { id: 'drawer', oldStateName: 'ACTIVE', newStateName: 'END' }
15:39:49.217: 'END OFFSET', -425.2704223632812
15:39:49.235: { id: 'scroll', oldStateName: 'ACTIVE', newStateName: 'END' }
15:39:50.779: { id: 'scroll',
15:39:50.779: oldStateName: 'UNDETERMINED',
15:39:50.779: newStateName: 'BEGAN' }
15:39:50.781: { id: 'drawer',
15:39:50.781: oldStateName: 'UNDETERMINED',
15:39:50.781: newStateName: 'BEGAN' }
15:39:50.782: { id: 'masterdrawer',
15:39:50.782: oldStateName: 'UNDETERMINED',
15:39:50.782: newStateName: 'BEGAN' }
15:39:50.878: { id: 'drawer', oldStateName: 'BEGAN', newStateName: 'ACTIVE' }
15:39:51.589: { id: 'scroll', oldStateName: 'BEGAN', newStateName: 'END' }
15:39:51.590: { id: 'drawer', oldStateName: 'ACTIVE', newStateName: 'END' }
15:39:51.597: { id: 'masterdrawer',
15:39:51.597: oldStateName: 'BEGAN',
15:39:51.597: newStateName: 'FAILED' }
Actual behavior
On iOS, only the inner pan is firing (@kmagiera you will know what I mean by this).
15:44:04: { id: 'drawer', oldStateName: 'UNDETERMINED', newStateName: 'BEGAN' }
15:44:04: { id: 'drawer', oldStateName: 'BEGAN', newStateName: 'ACTIVE' }
15:44:09: { id: 'drawer', oldStateName: 'ACTIVE', newStateName: 'END' }
15:44:09: 'END OFFSET', -436.5
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
onHandlerStateChange not firing sometimes on iOS · Issue #9 ...
This issue is related to problems with gesture handlers · The issue will be closed automatically if it remains inactive · This issue...
Read more >react native gesture handler not firing events - Stack Overflow
I'm attempting to use the PanGestureHandler component from the react-native-gesture-handler library. The main reason behind this is to move the ...
Read more >react-native-gesture-handler - Bountysource
onHandlerStateChange not firing sometimes on iOS $ 0. Created 5 years ago in software-mansion/react-native-gesture-handler with 4 comments. Expected behavior.
Read more >Troubleshooting iOS - OneSignal Documentation
"APNS Delegate Never Fired" is a timeout message for when iOS doesn't fire a success or failure message if a connection is not...
Read more >IPhone Swipe Up Not Working? Here's 6 Ways To Fix It
Sometimes, your device's screen alone might be the culprit. In this article, we will be looking at various methods to help solve this...
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
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
+1 https://github.com/osdnk/react-native-reanimated-bottom-sheet/blob/master/index.js#L276
hey all! It’s been a while since last activity on this issue. With the new API introduced last year, we no longer expect library users to interface with state change events (the callback is still there but no one really should be using it). Also, in the meantime we’ve changed a number of things under the hood so if anyone here have encountered this problem with a recent version or is willing to help by trying to repro it right now please respond in the comment.