website
website copied to clipboard
[BUG 🐛] Mobile navigation menu does not close when navigating to same page as current
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.