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

Calculate sidebar expansion for groups with paths on page open #2564

Closed
1 task done
echojoshchen opened this issue Aug 10, 2020 · 0 comments · Fixed by qlcchain/qlcchain.github.io#82
Closed
1 task done
Labels
has PR Has a related PR

Comments

@echojoshchen
Copy link
Contributor

echojoshchen commented Aug 10, 2020

  • I confirm that this is an issue rather than a question.

Sidebar groups with paths do not expand the sidebar when directly navigating to these pages.

Bug report

Steps to reproduce

Demo repo: https://github.com/echojoshchen/vuepress-subheading-demo

  1. Navigate to /test/sections, the first sidebar group expands instead of the active one.
  2. Navigate to /test/section-2, the first sidebar group expands, and no active header is shown.

What is expected?

The sidebar should be expanded to the same layout as when navigating by clicking.

What is actually happening?

The first sidebar group expands instead of the active one.

Other relevant information

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