Skip to content

Uncaught TypeError: Cannot read properties of undefined (reading 'previousStyle') when experimenting readme example #37

Description

@tiagocpeixoto

This package has external dependencies of react-native-reanimated and react-native-gesture-handler which must be installed separately. Before opening an issue related to animations or gestures please verify that you have completed ALL installation steps, including the changes to MainActivity.

Describe the bug
When experimenting with the readme example and after swiping any list item, I got the error "Uncaught TypeError: Cannot read properties of undefined (reading 'previousStyle')".
After that, the browser almost froze during this weird error.

Steps to reproduce the behavior:

Just try the readme example.

Platform & Dependencies
Please list any applicable dependencies in addition to those below (react-navigation etc).

Not applied?

Platform (iOS/Android):
React Native or Expo version: Expo v43.0.3
react-native-reanimated version: 2.2.4
react-native-gesture-handler version: 1.10.3

Additional context

The error was raised when testing the example on the web browser (using react-native-web).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions