Skip to content

[Android] A second finger's tap on a button does nothing while another finger rests on the screen #4627

Closed

Description

@YevheniiKotyrlo

Description

On Android, while one finger rests on an empty part of the screen, a tap with a second finger on a Touchable or a RectButton does nothing: no onPressIn, onBegin or onPress. The same tap with no other finger down presses the button.

recordHandlerIfNotPresent cancels a handler whose shouldBeginWithRecordedHandlers refuses any handler already recorded (GestureHandlerOrchestrator.kt#L536-L551), and a button refuses one that is neither simultaneous with it, on its view, nor a hover (RNGestureHandlerButtonViewManager.kt#L1523-L1531), the check #4127 added for the handlers one touch extracts. The list also holds the handlers another finger's touch recorded, here the root view's own handler, so the second finger's button is cancelled before it begins.

Steps to reproduce

  1. Render the component from the gist.
  2. Rest one finger on the grey area.
  3. Tap the Touchable or the RectButton with a second finger: nothing is logged.
  4. Lift both, then tap the same button with one finger: it logs its press.

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

https://gist.github.com/YevheniiKotyrlo/8d682549a0d6c4746fa55ea64cce2607

Gesture Handler version

main at 40ac206; 3.4.0 has the same check

React Native version

0.88.0

Platforms

Android

JavaScript runtime

Hermes

Workflow

Using Expo Prebuild or an Expo development build

Build type

Release mode

Device

Android emulator

Device model

API 34 emulator (x86_64, Google APIs), Android 14

Acknowledgements

Yes

Activity

  1. added a commit that references this issue on Oct 28, 2026
    b886eef
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions