question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android: Unsupported top level event type

See original GitHub issue

Unsupported top level event type “topGestureHandlerStateChange” dispatched extractEvents

    ReactNativeFiber-dev.js:3519:22
extractEvents
    ReactNativeFiber-dev.js:3298:71
handleTopLevel
    ReactNativeFiber-dev.js:3539:64
<unknown>
    ReactNativeFiber-dev.js:3560:55
batchedUpdates
    ReactNativeFiber-dev.js:2754:26
batchedUpdates
    ReactNativeFiber-dev.js:202:35
batchedUpdatesWithControlledComponents
    ReactNativeFiber-dev.js:209:34
_receiveRootNodeIDEvent
    ReactNativeFiber-dev.js:3559:50
receiveEvent
    ReactNativeFiber-dev.js:3564:60
__callFunction
    MessageQueue.js:299:47
<unknown>
    MessageQueue.js:111:26
__guard
    MessageQueue.js:262:6
callFunctionReturnFlushedQueue
    MessageQueue.js:110:17

In a Flatlist. just when i click everywhere.

“expo”: “^24.0.0” with .29 Beta. Sorry for that

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

3reactions
JulianKingmancommented, Jun 19, 2018

I got this error after updating to 1.0.5, downgrading to 1.0.4 fixed the problem. The issue appears to be this commit: https://github.com/kmagiera/react-native-gesture-handler/commit/10f239de4b315c34e145f6edf32a3e34b97bc65f

0reactions
linjsoncommented, Oct 8, 2019

same issue on android when release

    "reactxp":'2.0.0-rc.1'
    "react-native": "^0.61.1",
    "react-native-gesture-handler": "^1.4.1",

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unsupported top level event type ...
I am getting crash when I touch the PanGestureHandler. return ( <PanGestureHandler onGestureEvent={this.onGestureEvent} onHandlerStateChange={ ...
Read more >
ios - Unsupported top level event type ...
A drawer is working properly in Android and iPhone 5S. But, when I ran the app in iPhone X, it's throw error when...
Read more >
iOS : Unsupported top level event type ... - YouTube
iOS : Unsupported top level event type "onGestureHandlerStateChange dispatched in iphone X [ Beautify Your Computer ...
Read more >
[Solved]-Unsupported top level event type ...
Once new event types are registered with react it is possible to dispatch these events to all kind of native views. UIManager.genericDirectEventTypes =...
Read more >
BottomSheet | React Native AMA
Unsupported top level event type "onGestureHandlerStateChange" dispatched. Add the following import at the top of your App.tsx|jsx file:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found