-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: use tabster to focus on trigger, instead of manually invoking .focus
#27512
Merged
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:react-dialog/fix--use-tabster-to-focus-on-trigger
Apr 11, 2023
Merged
fix: use tabster to focus on trigger, instead of manually invoking .focus
#27512
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:react-dialog/fix--use-tabster-to-focus-on-trigger
Apr 11, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bsunderhus
force-pushed
the
react-dialog/fix--use-tabster-to-focus-on-trigger
branch
from
April 11, 2023 09:12
5494590
to
64bd993
Compare
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 8b3c1619b483d19e4d3a0e4c30b03cb2ab055467 (build) |
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 64bd993:
|
📊 Bundle size report
Unchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 896 | 934 | 5000 | |
Button | mount | 470 | 464 | 5000 | |
Field | mount | 1716 | 1714 | 5000 | |
FluentProvider | mount | 1136 | 1148 | 5000 | |
FluentProviderWithTheme | mount | 143 | 146 | 10 | |
FluentProviderWithTheme | virtual-rerender | 108 | 113 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 127 | 134 | 10 | |
InfoButton | mount | 29 | 28 | 5000 | |
MakeStyles | mount | 1352 | 1373 | 50000 | |
Persona | mount | 2596 | 2560 | 5000 | |
SpinButton | mount | 2077 | 2124 | 5000 |
🕵 fluentuiv9 No visual regressions between this PR and main |
layershifter
approved these changes
Apr 11, 2023
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Apr 13, 2023
…t/drawer-light-dismiss-prop * marcosmoura/feat/drawer-component: (51 commits) fix: upgrade react-dialog Doc: Add/Remove TreeItem and useFlatTree stories (microsoft#27515) applying package updates Fix accessibility labels for tree stories (microsoft#27443) fix: BasePickerListBelow aria-describedby with values (microsoft#27525) chore: Remove deprecated InputField, etc. shim components (microsoft#27492) [Feature]: allow aria-description attribute on v9 (microsoft#27478) feat(react-jsx-runtime): implements custom JSX pragma (microsoft#27472) chore: update generator to include "test-ssr" script (microsoft#27463) applying package updates fix: add "style" to exports field (microsoft#27274) applying package updates feat(react-datepicker-compat): Make package public (microsoft#27524) fix: react-combobox defines fallbackPositions for popup on small screens (microsoft#27521) fix: use tabster to focus on trigger, instead of manually invoking .focus (microsoft#27512) add cxe-red to react-shared-context ownership (microsoft#27296) docs: add props tables for all exported Popover controls (microsoft#27503) fix: Update FormFieldShim to work with Field context changes (microsoft#27436) Fix wrong state narration for multiple selected legends (microsoft#27429) add codeowners to theme designer v9 (microsoft#27311) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New Behavior
Nothing changes, but with this PR we can remove unnecessary
.focus
invocation onfocusFirstElement
since we can rely on tabster to focus on trigger when dialog is closed.