Commit d99899e
fix(website): fix docs sidebar expand/collapse navigation (#25238)
- Use strings.HasPrefix to keep sections expanded when on any child page
(the previous eq check only matched the section index, not child pages)
- Add @click="open = true" to section title links so clicking the title
expands the group in addition to navigating, without requiring the chevron
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Pavlos Rontidis <pavlos.rontidis@gmail.com>1 parent 29b17aa commit d99899e
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
0 commit comments