Skip to content

KeyboardTrackingView keeps offset when keyboard is hidden after back navigation #3818

@gentlee

Description

@gentlee

Description

KeyboardTrackingView keeps offset when keyboard is hidden after back navigation.

Related to

  • Components
  • Demo
  • Docs
  • Typings

Steps to reproduce

  1. Open screen with KeyboardTrackingView (second) from another screen with KeyboardTrackingView (first)
  2. Open keyboard, see how KeyboardTrackingView is moved with the keyboard on the second screen.
  3. Go back to the first screen.

Expected behavior

Keyboard is closed when going back, and so do KeyboardTrackingView of the first screen.

Actual behavior

Keyboard is closed when going back, but KeyboardTrackingView is still in the center of the screen on the first screen.

More Info

Code snippet

Screenshots/Video

Image

Environment

  • React Native version: 0.71.7
  • React Native UI Lib version: 7.46.3

Affected platforms

  • Android
  • iOS
  • Web

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug in one of the components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions