website icon indicating copy to clipboard operation
website copied to clipboard

[BUG 🐛] Mobile navigation menu does not close when navigating to same page as current

Open issy opened this issue 1 year ago • 0 comments

For example, when navigating to docs page from the docs page. However, the page does get scrolled to the top correctly. This is because the close behaviour is only done using a useEffect on pathname, which does not change in this scenario. I'll open a PR to fix this.

issy avatar Apr 28 '24 11:04 issy