-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
[FEAT] A parent tree item should be expanded if there is an active/selected tree item within it #2931
Comments
@xelaint is this permanently open? Or only open upon initial render? |
I think it should be permanent. If a user is on next.daff.io/docs/packages/cart/extension, and I refresh the page, the |
I disagree. I think the feature should only cover what happens on initial render. I also think that it should scroll the active item into view. |
So if you're on the "Extension" page and decide to refresh to page, you wouldn't want to see that the Extension page is still the selected item in the sidebar? |
refreshing the page is an "initial render" the way I interpret "remain expanded" is that the accordion cannot be closed, even by user interaction. |
my proposed UX:
|
Gotcha. I interpreted "initial render" as literally the first initial render and nothing after that. I think we're on the same page then. |
💡 Feature request
Feature Name
A parent tree item should be expanded if there is an active/selected tree item within it
The Desired Behavior
Your Use Case
Prior Work
Environment
The text was updated successfully, but these errors were encountered: