Skip to content

[Ios] app lags/stutters while navigating to a new screen with auto focused text input #1637

@itsramiel

Description

@itsramiel

Description

When navigating from one screen to another in a stack where the second screen has a text input with autofocus, the transition animation between the screens becomes laggy.

The issue is more obvious on a real device

Real device (Iphone 8 plus):

RPReplay_Final1668517694.MP4

Simulator

Simulator.Screen.Recording.-.iPhone.14.Pro.-.2022-11-15.at.15.05.33.mp4

Steps to reproduce

  1. create a native stack navigation with two screens
  2. add a text input with autofocus in Screen 2
  3. navigate from Screen 1 to Screen 2

Snack or a link to a repository

https://github.com/itsramiel/bare-autocus

Screens version

3.18.2

React Native version

0.70.5

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

Real device

Device model

Iphone 8 plus( Ios 16.0 )

Acknowledgements

Yes

Metadata

Metadata

Assignees

Labels

platform:iosIssue related to iOS part of the libraryrepro-providedA reproduction with a snack or repo is provided

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions