fix: Fixing Slider's programmatic focus#25869
Merged
khmakoto merged 5 commits intomicrosoft:masterfrom Dec 2, 2022
Merged
Conversation
spmonahan
approved these changes
Dec 1, 2022
Collaborator
📊 Bundle size report🤖 This report was generated against 0e6c43dfe0b2f3568d6a9b574cd073cdc9f71608 |
Collaborator
🕵 fluentuiv8 Open the Visual Regressions report to inspect the 3 screenshots✅ There was 0 screenshots added, 0 screenshots removed, 1034 screenshots unchanged, 0 screenshots with different dimensions and 3 screenshots with visible difference. unknown 3 screenshots
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| GroupedList | mount | 1836 | 2070 | 2 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1207 | 1185 | 5000 | |
| Breadcrumb | mount | 2827 | 2839 | 1000 | |
| Checkbox | mount | 2656 | 2669 | 5000 | |
| CheckboxBase | mount | 2373 | 2367 | 5000 | |
| ChoiceGroup | mount | 4316 | 4332 | 5000 | |
| ComboBox | mount | 1146 | 1199 | 1000 | |
| CommandBar | mount | 9278 | 9303 | 1000 | |
| ContextualMenu | mount | 10111 | 10291 | 1000 | |
| DefaultButton | mount | 1371 | 1360 | 5000 | |
| DetailsRow | mount | 3427 | 3362 | 5000 | |
| DetailsRowFast | mount | 3393 | 3364 | 5000 | |
| DetailsRowNoStyles | mount | 3241 | 3249 | 5000 | |
| Dialog | mount | 3001 | 2992 | 1000 | |
| DocumentCardTitle | mount | 586 | 587 | 1000 | |
| Dropdown | mount | 3174 | 3140 | 5000 | |
| FocusTrapZone | mount | 1937 | 1963 | 5000 | |
| FocusZone | mount | 1935 | 1918 | 5000 | |
| GroupedList | mount | 1836 | 2070 | 2 | Possible regression |
| GroupedList | virtual-rerender | 1105 | 1104 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 1626 | 1613 | 2 | |
| GroupedListV2 | mount | 578 | 564 | 2 | |
| GroupedListV2 | virtual-rerender | 535 | 554 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 568 | 577 | 2 | |
| IconButton | mount | 1786 | 1787 | 5000 | |
| Label | mount | 758 | 756 | 5000 | |
| Layer | mount | 4155 | 4184 | 5000 | |
| Link | mount | 863 | 847 | 5000 | |
| MenuButton | mount | 1635 | 1619 | 5000 | |
| MessageBar | mount | 2378 | 2330 | 5000 | |
| Nav | mount | 3038 | 3095 | 1000 | |
| OverflowSet | mount | 1429 | 1399 | 5000 | |
| Panel | mount | 2487 | 2472 | 1000 | |
| Persona | mount | 1283 | 1286 | 1000 | |
| Pivot | mount | 1533 | 1512 | 1000 | |
| PrimaryButton | mount | 1507 | 1504 | 5000 | |
| Rating | mount | 7018 | 6989 | 5000 | |
| SearchBox | mount | 1500 | 1491 | 5000 | |
| Shimmer | mount | 2974 | 2938 | 5000 | |
| Slider | mount | 2125 | 2102 | 5000 | |
| SpinButton | mount | 4286 | 4266 | 5000 | |
| Spinner | mount | 826 | 835 | 5000 | |
| SplitButton | mount | 2811 | 2809 | 5000 | |
| Stack | mount | 866 | 871 | 5000 | |
| StackWithIntrinsicChildren | mount | 2340 | 2335 | 5000 | |
| StackWithTextChildren | mount | 5020 | 5084 | 5000 | |
| SwatchColorPicker | mount | 9520 | 9459 | 5000 | |
| TagPicker | mount | 2371 | 2341 | 5000 | |
| TeachingBubble | mount | 78839 | 76364 | 5000 | |
| Text | mount | 823 | 816 | 5000 | |
| TextField | mount | 1569 | 1563 | 5000 | |
| ThemeProvider | mount | 1432 | 1455 | 5000 | |
| ThemeProvider | virtual-rerender | 1125 | 1147 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2006 | 2017 | 5000 | |
| Toggle | mount | 1137 | 1145 | 5000 | |
| buttonNative | mount | 540 | 530 | 5000 |
Asset size changes
Baseline commit: 0e6c43dfe0b2f3568d6a9b574cd073cdc9f71608 (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 4bfe44a:
|
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Dec 2, 2022
* master: fix: Pressed and Hover states for toolbar buttons (microsoft#25835) feat: add large size for toolbar (microsoft#25830) applying package updates adding perf test for Persona (microsoft#25863) fix: Fixing Slider's programmatic focus (microsoft#25869) chore(v0 docs): Add storybook stories that reference docsite examples for 1JS VR tool migration (microsoft#25663) fix: Respecting user-provided ids in ComboBox options (microsoft#25867) refactor(scripts): more domain boundaries encapsulation (microsoft#25851) docs: add documentation about how to migrate V0 createSvgIcon (microsoft#25828) support cross story linking and create example in Menu story (microsoft#25850)
Hotell
pushed a commit
to Hotell/fluentui
that referenced
this pull request
Feb 9, 2023
* fix: Fixing Slider's programmatic focus. * Adding change file. * Removing console.log. * Fixing type error. Co-authored-by: Humberto Makoto Morimoto Burgos <makotom@microsoft.com>
This file contains hidden or 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
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.
Previous Behavior
Using programmatic
focusbased on thecomponentRefof aSliderwould not work correctly, trying and failing to focus on the non-interactive thumb.New Behavior
Using programmatic
focusbased on thecomponentRefof aSlidernow works correctly, focusing on the interactive slider-box as expected.Related Issue(s)