Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

Android crash: Animated events must have event data. #976

@valeriashpiner

Description

@valeriashpiner

Current behaviour

Android crashes when I scroll to the end of tabs.
It happens all the time on Android.

You scroll to the end and then you try to scroll the last item more and more few times, but it's the last item so app just crashed after few scrolls.

Expected behaviour

Android doesn't have crash when I scroll.

Screenshots (if applicable)

Screen Shot 2020-02-27 at 11 14 20 AM

It's only your library in my project which uses reanimated and react-native-gesture-handler together, and it happens on react-native-tab-view components. So I believe, it's related to your library.

What have you tried

I updated react-native-tab-view to 2.13.0.
I updated reanimated to 1.7.0.
I put import 'react-native-gesture-handler' at the top of root file index.js.
Releated issue here

Your Environment

software version
ios or android android
react-native 0.61.2
react-native-tab-view 2.11.0 and 2.13.0
react-native-gesture-handler ^1.4.1
react-native-reanimated ^1.2.0 and ^1.7.0
node 12.12.0
npm or yarn yarn

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions