Skip to content

When scrolling it triggers onChange #19

@alizhan1

Description

@alizhan1

Describe the bug
I wanted to map two functions to swipe "left" and swipe "0"
However, when scrolling list of swipable items, onChange gets triggered as well and shows snapPoint: 0.

Steps to reproduce the behavior:

  • Have a scroll view of swipable items
  • log object passed from onChange
  • you will see same output for:
    --- swiping from child to parent
    --- scrolling the list

Platform & Dependencies
Android emulator

Platform (iOS/Android):
React Native or Expo version: 0.61.5
react-native-reanimated version: 1.8.0
react-native-gesture-handler version: ^1.4.1

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