Commit 4a8bca0
Don't reopen the mobile menu on Back
The menu state became "open for this path", derived against the current
pathname so the overlay disappears as soon as a navigation commits. But
the path was never forgotten, so navigating Back to the page the menu was
opened on brought the menu back with it. Clear it once the path changes.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent b91a253 commit 4a8bca0
1 file changed
Lines changed: 5 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| |||
0 commit comments