Skip to content

[Bug]: Focus doesn't land on the expected element in scenario with focusZone #25443

@antrianis

Description

@antrianis

Library

React / v8 (@fluentui/react)

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
    Memory: 37.46 GB / 63.62 GB
  Browsers:
    Edge: Spartan (44.22621.674.0), Chromium (107.0.1418.26), ChromiumDev (108.0.1462.2)
    Internet Explorer: 11.0.22621.1

Are you reporting Accessibility issue?

No response

Reproduction

https://codepen.io/andr33/pen/NWzGWzJ?editors=1111

Bug Description

Actual Behavior

The focus goes between the two input text fields ignoring the rest of the focusable elements. As soon as you focus manually inside of one of the focus zones, then the focus starts including the rest of the focusable elements.

Expected Behavior

The focus cycle should include all the items from the beginning.
This seems to be caused by: #24175

Logs

No response

Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

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