Skip to content

Share text doesn't report keyboard dismissal #1006

@kirillzyusko

Description

@kirillzyusko

Describe the bug

When I select text and press "Share" on Android the keyboard is getting closed, but it looks like the lib is not emitting events.

Code snippet

Example app with chat screen

Repo for reproducing

You can use example app

To Reproduce
Steps to reproduce the behavior:

  1. Press on TextInput
  2. Type something inside the input
  3. Select the text and press "Share"
  4. See how keyboard gets closed but input stays in the same position

Expected behavior

Input should follow keyboard position

Screenshots

screen-20250703-134156.mp4

Smartphone (please complete the following information):

  • Desktop OS: MacOS 26.0
  • Device: Pixel 7 Pro
  • OS: Android 16
  • RN version: 0.78
  • RN architecture: old
  • JS engine: Hermes
  • Library version: 1.17.5

Additional context

Maybe if-conditions inside keyboard callback filter that event somehow 🤷‍♂

Metadata

Metadata

Assignees

Labels

repro providedIssue contains reproduction repository/code🐛 bugSomething isn't working🤖 androidAndroid specific

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions