Skip to content
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-tree): Allow overriding aria-selected through props #31020

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

sopranopillow
Copy link
Contributor

Previous Behavior

It wasn't possible to override the aria-selected attribute through the props, even though we encourage doing so in certain cases:
image

New Behavior

This PR now allows overriding aria-selected.

@sopranopillow sopranopillow self-assigned this Apr 10, 2024
@sopranopillow sopranopillow requested a review from a team as a code owner April 10, 2024 20:48
@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 636 601 5000
Button mount 298 304 5000
Field mount 1119 1121 5000
FluentProvider mount 713 698 5000
FluentProviderWithTheme mount 75 80 10
FluentProviderWithTheme virtual-rerender 36 29 10
FluentProviderWithTheme virtual-rerender-with-unmount 74 73 10
MakeStyles mount 860 868 50000
Persona mount 1774 1700 5000
SpinButton mount 1334 1391 5000

Copy link

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.

@fabricteam
Copy link
Collaborator

📊 Bundle size report

✅ No changes found

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@sopranopillow sopranopillow merged commit c488a5e into microsoft:master Apr 11, 2024
19 checks passed
@sopranopillow sopranopillow deleted the tree-aria-selected branch April 11, 2024 19:35
Hotell pushed a commit to Hotell/fluentui that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants