Skip to content

After closing modal, user is alt+tabbed into a different window already open #14486

@Yajur-Grover

Description

@Yajur-Grover

Problem Description

After closing an opened Modal example, the current focused window changes to the previous opened window/app, similar to being alt+tabbed. The user then has to alt+tab back onto the RNW application to continue navigating.

Screen Recording: https://microsoft-my.sharepoint-df.com/:v:/p/yajurgrover/ETSlhbTE705PtzkftCRlP4oBzft9tcBobyaklgo5T2CnOA?e=2geyCA

Steps To Reproduce

  1. Launch New Arch Gallery
  2. Go to the Modal example page
  3. Open some of the example modals
  4. Tab onto the opened modal
  5. Close the modal

Expected Results

Focus should remain in the same window.

CLI version

npx @react-native-community/cli -v

Environment

npx @react-native-community/cli info

Community Modules

No response

Target Platform Version

None

Target Device(s)

No response

Visual Studio Version

None

Build Configuration

None

Snack, code example, screenshot, or link to a repository

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions