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
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