Skip to content

[Bug]: Dialog doesn't focus on list #23925

@mbest

Description

@mbest

Library

React / v8 (@fluentui/react)

System Info

System:
    OS: Windows 10 10.0.22622
    CPU: (12) x64 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz
    Memory: 9.79 GB / 31.92 GB
  Browsers:
    Chrome: 103.0.5060.114
    Edge: Spartan (44.22621.290.0), Chromium (103.0.1264.37), ChromiumDev (104.0.1293.5)
    Internet Explorer: 11.0.22621.1

Are you reporting Accessibility issue?

yes

Reproduction

https://codepen.io/mbest098/pen/WNzozwO

Bug Description

Actual Behavior

Initial focus in dialog goes after the list

Expected Behavior

A focusable list should receive focus if it's the first item in the dialog

Logs

No response

Requested priority

High

Products/sites affected

https://account.microsoft.com/family/

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions