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]: Nav - selected category is collapsed on mount, selectedCategoryValue doesn't control it #32417

Closed
2 tasks done
slimklim opened this issue Aug 29, 2024 · 4 comments
Closed
2 tasks done

Comments

@slimklim
Copy link

Library

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

System Info

System:
    OS: macOS 14.6.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 417.91 MB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 128.0.6613.114
    Edge: 128.0.2739.42
    Firefox: 129.0.2
    Safari: 17.6

Are you reporting an Accessibility issue?

no

Reproduction

https://stackblitz.com/edit/yrf6gk?file=src%2Fexample.tsx

Bug Description

Actual Behavior

selected category is collapsed when the component is rendered for the first time and selectedCategoryValue is set up

Expected Behavior

selected category is expanded when the component is rendered for the first time and selectedCategoryValue is set up

Logs

No response

Requested priority

High

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.
@Hotell
Copy link
Contributor

Hotell commented Aug 29, 2024

@slimklim just to verify

Current:

image

Expected:

image

@Hotell Hotell changed the title [Bug]: selected category is collapsed on mount, selectedCategoryValue doesn't control it [Bug]: Nav - elected category is collapsed on mount, selectedCategoryValue doesn't control it Aug 29, 2024
@Hotell Hotell changed the title [Bug]: Nav - elected category is collapsed on mount, selectedCategoryValue doesn't control it [Bug]: Nav - selected category is collapsed on mount, selectedCategoryValue doesn't control it Aug 29, 2024
@slimklim
Copy link
Author

slimklim commented Sep 3, 2024

@slimklim just to verify

Current:

image Expected: image

exactly

@mltejera

Gentle ping that this issue needs attention.

@mltejera
Copy link
Contributor

Thanks again for filing @slimklim - this should be fixed with #32489

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

No branches or pull requests

3 participants