-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(react-card): sync controllable state for selectable cards #29276
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
Merged
marcosmoura
merged 1 commit into
microsoft:master
from
marcosmoura:fix/react-card/use-controllable-state-for-selected
Sep 25, 2023
Merged
fix(react-card): sync controllable state for selectable cards #29276
marcosmoura
merged 1 commit into
microsoft:master
from
marcosmoura:fix/react-card/use-controllable-state-for-selected
Sep 25, 2023
Conversation
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
ValentinaKozlova
approved these changes
Sep 25, 2023
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 651 | 638 | 5000 | |
| Button | mount | 312 | 310 | 5000 | |
| Field | mount | 1121 | 1131 | 5000 | |
| FluentProvider | mount | 695 | 704 | 5000 | |
| FluentProviderWithTheme | mount | 77 | 92 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 64 | 60 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 75 | 74 | 10 | |
| InfoButton | mount | 16 | 16 | 5000 | |
| MakeStyles | mount | 834 | 869 | 50000 | |
| Persona | mount | 1722 | 1721 | 5000 | |
| SpinButton | mount | 1430 | 1396 | 5000 |
|
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 9219042:
|
Collaborator
📊 Bundle size report
Unchanged fixtures
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: a56c408d4ed860a48e22780289e5c4a00ebec6c4 (build) |
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Sep 25, 2023
…l-to-composition * master: feat: FlatTree supports navigation without useHeadlessFlatTree (microsoft#29091) fix(react-card): sync controllable state for selectable cards (microsoft#29276) fix (microsoft#29275)
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
Selectable cards were not using controllable state to sync the selected, defaultSelected and onChange handlers
New Behavior
Use controllable state to sync all props
Related Issue(s)