-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(react-infobutton): Popover should close when tabbing out of the surface #28913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(react-infobutton): Popover should close when tabbing out of the surface #28913
Conversation
change/@fluentui-react-infobutton-e6d4cef7-a090-4513-ac13-c1754d642d63.json
Show resolved
Hide resolved
…to infobutton/dismiss-on-blur
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 632 | 644 | 5000 | |
| Button | mount | 318 | 309 | 5000 | |
| Field | mount | 1113 | 1099 | 5000 | |
| FluentProvider | mount | 718 | 711 | 5000 | |
| FluentProviderWithTheme | mount | 77 | 81 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 69 | 66 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 70 | 74 | 10 | |
| InfoButton | mount | 9 | 15 | 5000 | |
| MakeStyles | mount | 836 | 876 | 50000 | |
| Persona | mount | 1709 | 1696 | 5000 | |
| SpinButton | mount | 1327 | 1399 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
🕵 fluentuiv9 No visual regressions between this PR and main |
packages/react-components/react-infobutton/src/components/InfoButton/useInfoButton.tsx
Outdated
Show resolved
Hide resolved
…to infobutton/dismiss-on-blur
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit e2a7a64:
|
🕵 fluentuiv8 No visual regressions between this PR and main |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: bb8a191dbdd562a2ef077c1bd5fa3dbfd00f0fdf (build) |
mltejera
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done sir! Tested and works as I'd expect :-)

Previous Behavior
The popover's surface stays open when focus moves out of it.
New Behavior
When tabbing out of the surface, the popover closes.