Skip to content

[Bug]: Focus border generated by createFocusOutlineStyle can be cut/invisible when parent container is overflow: hidden #31745

@wfwf1997

Description

@wfwf1997

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (20) x64 Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz
    Memory: 27.87 GB / 31.21 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh

Are you reporting Accessibility issue?

yes

Reproduction

https://codesandbox.io/p/sandbox/vigorous-firefly-mnrppk

Bug Description

Actual Behavior

The focus border is partially visible, or not visible in some cases.
image

Expected Behavior

The focus border should always be fully visible.
image

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