Skip to content

Starting with version 2.0.0, TouchableWithoutFeedback no longer supports multiple components being tapped at the same time. #3613

@hubConnect

Description

@hubConnect

Description

I have an older project I'm working through updates with. The project requires the ability to tap two separate buttons at the same time or independently while leveraging the pressIn and pressOut events to build a singular state. I found that the TouchableWithoutFeedback from this library was the most capable for managing that. 1.10.3 was the last version that was capable of handling this and it seems starting with version 2.0.0, TouchableWithoutFeedback no longer supports multiple components being tapped at the same time.

I haven't been able to find a version that restores this functionality -- if there is one please let me know the version. I would like to upgrade my project to newer versions, but this is unfortunately a blocking feature for me. Any additional recommendations would also be really appreciated.

Steps to reproduce

Open the Expo Snack.
Hold a press on the left button.

Expected:
Console Log: Touched In Left
Result:
Console Log: Touched In Left

Continue to hold the left button
Press right button

Expected:
Console Log: Touched In Right
Result:
No Log

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/@hubconnect/bad-multi-touch

Gesture Handler version

2.9.0

React Native version

0.73.6

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Old Architecture (Paper)

Build type

Release mode

Device

Real device

Device model

Google Pixel 8

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: AndroidThis issue is specific to AndroidRepro providedA reproduction with a snack or repo is provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions