-
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(Tree): Match design spec to show/hide selectable indicator #15133
fix(Tree): Match design spec to show/hide selectable indicator #15133
Conversation
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 142f5ef:
|
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 6499841:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 5158b5e4050cb04e9c22e0d5292cd96cc674746e (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
packages/fluentui/react-northstar/src/themes/teams/components/Tree/treeTitleStyles.ts
Outdated
Show resolved
Hide resolved
…Tree/treeTitleStyles.ts Co-authored-by: Oleksandr Fediashov <[email protected]>
@pompomon @layershifter Checked all screen changes, seems correct for me. |
@layershifter @pompomon @miroslavstastny please, check this one |
Was this released in |
packages/fluentui/react-northstar/src/components/Tree/TreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/fluentui/react-northstar/src/components/Tree/TreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/fluentui/react-northstar/src/components/Tree/TreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/fluentui/react-northstar/src/components/Tree/TreeItem.tsx
Outdated
Show resolved
Hide resolved
@layershifter We are breaking what we introduced in 0.49 in this PR #12362 |
…ntui into fix/tree-selectable
Pull request checklist
$ yarn change
BREAKING CHANGES
In master when we introduced the
selectable
feat forTree
, we were only showing indicator if it's expanded. #12362Lately, as a fix for #14720 we merged #14916
None of this behaviors match the design spec that says:
This PR introduces the behavior described above
This PR also makes all items ( parent and child ) selectable by default in a selectable
Tree
.Focus areas to test
Indicator should alway appear on Mouse Hover and Focus and hide on Mouse Leave and Blur