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

[Bug]: TreeItem leaf and branch are not aligned #28254

Closed
2 tasks done
NiklasRamstrom opened this issue Jun 19, 2023 · 1 comment · Fixed by #28320
Closed
2 tasks done

[Bug]: TreeItem leaf and branch are not aligned #28254

NiklasRamstrom opened this issue Jun 19, 2023 · 1 comment · Fixed by #28320

Comments

@NiklasRamstrom
Copy link

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: macOS 13.4
    CPU: (8) arm64 Apple M1 Pro
    Memory: 638.03 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 114.0.5735.133
    Firefox: 113.0.2
    Safari: 16.5

Are you reporting Accessibility issue?

None

Reproduction

https://codesandbox.io/s/modest-frog-kzsmzr?file=/example.tsx

Bug Description

Actual Behavior

When a Tree has both leaf and branch TreeItem on the same level, they are not aligned
Fluent version 9.21.0:
image

Expected Behavior

Branch and leaf TreeItems should align (as in Fluent version 9.18.0)
Fluent version 9.18.0:
image

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
@ValentinaKozlova ValentinaKozlova added Needs: Investigation The Shield Dev should investigate this issue and propose a fix Component: Tree Type: Bug 🐛 and removed Needs: Triage 🔍 labels Jun 20, 2023
@ValentinaKozlova ValentinaKozlova removed the Needs: Investigation The Shield Dev should investigate this issue and propose a fix label Jun 20, 2023
@bsunderhus
Copy link
Contributor

That definitely looks like some regression! thanks for the catch @NiklasRamstrom! I'll investigate this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants