Skip to content

[Feature]: Popup provides a way to not dismiss when a focus event fires from iframe #28556

Description

@lubobill1990

Library

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

Describe the feature that you would like added

There were PRs and issues about dismissing popup when activeElement change to iframe.

#19956
#8290

The latest behavior that dismisses popup when activeElement changes to iframe is not always as expected, since the activeElement can change to iframe when the iframe has some JavaScript code to call focus() function.

In most cases, the iframe's code is not in control, and it results in bugs.

I propose to add props to Popup to disable this auto dismiss logic.

Have you discussed this feature with our team

Not yet, will contact Juraj

Additional context

This auto dismiss behavior result in two bugs in Teams meeting scenario.

Validations

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions