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

collapse submenu for item after select another item #88

Open
cocodrino opened this issue Dec 16, 2019 · 4 comments
Open

collapse submenu for item after select another item #88

cocodrino opened this issue Dec 16, 2019 · 4 comments

Comments

@cocodrino
Copy link

Hi, probably the title is not the best, but basically I plan create a nav similar to this example

https://codesandbox.io/s/03xry073qw

here refund is selected, my intention is that if I select Users the subnav Transactions collapse and doesnt display inner items...

image

do you think that is it possible?...how would you achieve this?..thank you so much

@wmira
Copy link
Owner

wmira commented Dec 16, 2019 via email

@cocodrino
Copy link
Author

hi thanks @wmira I'm not totally clear with this, if I render them nested them the nav doesnt collapse (at least to me) if you can provide me a code for guide me I'd appreciate that

@cocodrino
Copy link
Author

cocodrino commented Jan 3, 2020

sorry @wmira I can't undersand it yet, I've tried in different ways and it doesn't work

not sure if my requirement was understand ok...I need... for instance...that when you click in Transaction/Orders and then in Dashboard/C the transaction panel automatically close because it's not active anymore

https://codesandbox.io/s/infallible-taussig-dmdo5

@GolfredoPerezFernandez
Copy link

same issue

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

No branches or pull requests

3 participants