Skip to content

Modal focus box appearing incorrectly in New Arch app #14485

@Yajur-Grover

Description

@Yajur-Grover

Problem Description

In New Arch Gallery, when opening a Modal example, focus is on the Modal example but the visual focus border is in the wrong place on the screen, which causes confusion on where the user is currently navigated to.

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

Screenshot:
Image

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

Expected Results

The black focus border should be around where the focus of the keyboard actually is.

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