Skip to content

In react-navigation on RNW: Keyboard tab is moving to previously opened screen while the current screen is being opened #10323

Open
@AgneLukoseviciute

Description

@AgneLukoseviciute

When navigating to a new page using react-navigation, the components of a previously opened page remain in the tabindex. I think this is also related to some tabbing issues we're seeing in gallery, since we use react-navigation there (#231, #222). There's also an internal partner asking for a fix.

From react-navigation react-navigation/react-navigation#9109:

Repro steps:

Create stack navigator with two screen (Ex: Home screen & details screen)
Go to Home screen(this screen contains few TextInputs), click a button to go to details screen
Keep hitting the TAB key. When the cursor is invisible, type few random characters. These characters are actually being typed in the Home screen's text input boxes.

Expected Behavior:

Cursor should not leave the current screen.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions