Skip to content

Submiting a TextInput inside pressable on web cancels all subsequent gestures #3622

@akwasniewski

Description

@akwasniewski

Description

On web, when we submit TextInput using enter, which is inside Pressable, then Gesture Handler doesn't recognize any subsqeuent taps or gestures. TextInput tap gesture is kept in active state, and causes all other gestures to fail.

Steps to reproduce

  1. Add a TextInput inside of a Pressable or Button.
  2. Submit the TextInput, using enter
  3. All subsequent gestures fail

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/akwasniewski/78b971da9c04631abe40f3f398024576

Gesture Handler version

2.27

React Native version

0.79

Platforms

Web

JavaScript runtime

None

Workflow

Using Expo Prebuild or an Expo development build

Architecture

New Architecture (Fabric)

Build type

Debug mode

Device

Real device

Device model

Web, Chrome

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions