We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I navigate on my application after the initial load and I click on a sidebar item that is collapsed, it collapses the sidebar item again.
I reproduced the problem on Stackblitz: https://stackblitz.com/edit/vite-smcwhn?file=docs%2Fitem-2.md
The steps to reproduce are the following:
The problem appears only during SPA navigation. If I reload completely the page "Item 1", the "Dropdown Menu" inside the sidebar is open as expected.
In that scenario, the sidebar item should remain open to give more context to the user.
System: OS: Linux 5.0 undefined CPU: (6) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 16.20.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.4.2 - /usr/local/bin/npm pnpm: 8.6.10 - /usr/local/bin/pnpm npmPackages: vitepress: latest => 1.0.0-rc.1
No response
The text was updated successfully, but these errors were encountered:
2fe8f60
try with rc.2
Sorry, something went wrong.
Thanks for working on the bug. It solves the problem on Stackblitz.
That said, on my real project, the bug is partially solved. The project uses multiple sidebars and this seems to be the problem.
I modified my Stackblitz example to show the problem: https://stackblitz.com/edit/vite-smcwhn?file=docs%2F.vitepress%2Fconfig.ts
I tried with rc.3. It works fine. Thanks a lot !
Successfully merging a pull request may close this issue.
Describe the bug
When I navigate on my application after the initial load and I click on a sidebar item that is collapsed, it collapses the sidebar item again.
Reproduction
I reproduced the problem on Stackblitz: https://stackblitz.com/edit/vite-smcwhn?file=docs%2Fitem-2.md
The steps to reproduce are the following:
The problem appears only during SPA navigation. If I reload completely the page "Item 1", the "Dropdown Menu" inside the sidebar is open as expected.
Expected behavior
In that scenario, the sidebar item should remain open to give more context to the user.
System Info
System: OS: Linux 5.0 undefined CPU: (6) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 16.20.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.4.2 - /usr/local/bin/npm pnpm: 8.6.10 - /usr/local/bin/pnpm npmPackages: vitepress: latest => 1.0.0-rc.1
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: