Skip to content

onBegan (etc.) events on Swipeable are not being triggered #3670

@gboudreau

Description

@gboudreau

Description

Since I updated from Expo v49 (react-native-gesture-handler v2.12.1)
to Expo v53 & react-native-gesture-handler v2.24.0 (also tried on v2.28.0 and v2.18.1),
the onBegan, onEnded, onFailed and onCancelled events on Swipeable are not being triggered. They were working fine, prior to this upgrade.

Happens on Android, iOS and Web platform.

Steps to reproduce

See Snack below.

A link to a Gist, an Expo Snack or a link to a repository based on this template that reproduces the bug.

https://snack.expo.dev/@gboudreau/swipeable-events-not-working

Gesture Handler version

2.24.0 (also reproduced on 2.28.0 and 2.18.1)

(When tested with Expo 49, it works fine from 2.12.1 up to 2.28.0 - but without re-building the app. I used the same build for all tests here, which might not be such a good idea.)

React Native version

0.79.0

Platforms

Web

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions