Skip to content

ChoiceGroup: focus is wrong when using ChoiceGroup inside of Panel #5160

@SumiranAgg

Description

@SumiranAgg

Bug Report

OS: Windows 10 RS3
OS version: build 16299.371
Browser: Microsoft edge browser
Edge version: Microsoft Edge 41.16299.371.0
Firefox version: 59.0.2 (32-bit)
Version:20180413T115929

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? (Yes, No)
No

Requested priority: (Blocking, High, Normal, Low)
Normal

Products/sites affected: (if applicable)
VSTS

Describe the issue:
Panel focus order is improper when choice group is rendered within the Panel.

Actual behavior:
Suppose you have choice group with options "a" and "b" in the panel.

The focus first goes to cross button of the panel, then the choice group option "a", then tabbing will make you focus the page title/window etc.

If you select option "b" my moving key down, then the focus will remain inside the Panel which is the expected behavior. But by default, as "a" is selected, the focus goes out of the Panel

Expected behavior:
Focus order should remain inside the panel only

If applicable, please provide a codepen repro:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions