Skip to content

[Performance] iOS - Keyboard sometimes takes seconds to appear when opening a chat: bump react-native-keyboard-controller and add instrumentation #100721

Description

@melvin-bot

Problem

On native iOS, opening a report sometimes takes several seconds before the keyboard actually appears, and the page renders in a broken intermediate state while it waits. Reported as happening at least once a week.

Two things stand out:

  • The keyboard should only open automatically when there is a message draft in the composer. In the reported case there was no draft, so the keyboard appearing at all may be a bug on top of the slowness.
  • It has not been reproducible on a simulator or a physical device on production, and a codebase search found no path that should open the keyboard by default in a chat. So we need remote observability before we can chase it further.

Proposed work (can ship separately)

  1. Bump react-native-keyboard-controller from 1.22.2 to 1.22.4. kirillzyusko/react-native-keyboard-controller#1598 looks potentially related.
  2. Add Sentry instrumentation measuring how long the keyboard takes to open, so we can tell whether this is an isolated case or a broader problem and confirm whether the bump helps.

Notes

More detailed reproduction steps will be added if the issue happens again.

Reported in Slack.

Issue OwnerCurrent Issue Owner: @war-in

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions