Skip to content

6.2.0 breaks gestures in other components that use PanResponder #713

@efstathiosntonas

Description

@efstathiosntonas

Environment

Description

After upgrading to 6.2.0 it broke pan gesture handler in other components eg. sortable/draggable lists. I have no clue how it's possible as I've never encountered such a thing before but downgrading to 6.1.4 the drag and drop worked as it should. The draggable list is this one: https://github.com/SHISME/react-native-draggable-grid and it's using PanResponder from react-native.

deps:

"resolutions": {
    "react-native-pager-view": "6.2.0",
  },
  "dependencies": {
    "react-native-gesture-handler": "^2.9.0",
    "react-native": "0.71.4",
    "react-native-reanimated": "^3.0.2",
    "@react-navigation/bottom-tabs": "^6.5.7",
    "@react-navigation/core": "^6.4.8",
    "@react-navigation/elements": "^1.3.17",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/native-stack": "^6.9.12",
    "@react-navigation/stack": "^6.3.16",
    "react-native-pager-view": "6.2.0"
}

With version 6.1.4:

Screen.Recording.2023-03-29.at.12.17.44.mov

With version 6.2.0:

Screen.Recording.2023-03-29.at.12.22.25.mov

Reproducible Demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions