Skip to content

First tap on Pressable/Button is swallowed when keyboard is open inside TrueSheet #641

@AndreySVRF

Description

@AndreySVRF

Before submitting a new issue

  • I tested using the latest version of the library.
  • I tested using a supported version of React Native.
  • I checked for existing issues that might answer my question.

Bug Summary

When a TextInput is focused inside a TrueSheet (keyboard is visible), tapping a Pressable or Button requires two taps to trigger onPress:

  1. First tap — keyboard dismisses, but neither onPress nor onPressIn fires
  2. Second taponPress fires as expected

This happens on both iOS and Android. Outside of TrueSheet (on regular screens), the same TextInput + Button combination works correctly with a single tap.

Affected Platforms

  • iOS
  • Android
  • Web
  • Other

Library Version

3.10.0

Environment Info

- React Native: 0.79 (New Architecture / Fabric)
- iOS 18+ (UISheetPresentationController)
- Android 14+ (BottomSheetBehavior)
- Tested on: iPhone 16e Simulator, physical iPhone, Android Emulator, physical Android device

Steps to Reproduce

  1. Present a TrueSheet with a TextInput and a Button/Pressable
  2. Tap the TextInput to open the keyboard
  3. Tap the Button — keyboard dismisses, but onPress does NOT fire
  4. Tap the Button again — onPress fires

Repro

https://codesandbox.io/p/devbox/s3krcd?file=%2FApp.js

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrepro providedGood! Repro is provided

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions