Issue summary
Description
Issue #14 (Navigation links not working on mobile) was closed as completed in Oct 2024, but the bug has regressed and is present in the current main branch.
In templates/navigation/header.html line 123, the mobile menu links have an empty href="":
<a href="">
{{ link.value.get_title }}
</a>
Steps to reproduce
- Open the site on a mobile viewport (or resize browser < 768px)
- Click the hamburger menu
- Click any navigation link
- You stay on the same page
Additional information
No response
Can be reproduced
Yes, on a fresh Wagtail project
Technical details
- Python version: Run
python --version.
- Django version: Look in your requirements.txt, or run
pip show django | grep Version.
- Wagtail version: Look at the bottom of the Settings menu in the Wagtail admin, or run
pip show wagtail | grep Version:.
- Browser version: You can use https://www.whatsmybrowser.org/ to find this out.
Working on this
If you would like to contribute to this issue, follow these steps:
- Confirm that the issue is reproducible, either on a fresh Wagtail project or the bakerydemo.
- Once confirmed, view our contributing guidelines, add a comment to the issue once you're ready to start.
Issue summary
Description
Issue #14 (Navigation links not working on mobile) was closed as completed in Oct 2024, but the bug has regressed and is present in the current
mainbranch.In
templates/navigation/header.htmlline 123, the mobile menu links have an emptyhref="":Steps to reproduce
Additional information
No response
Can be reproduced
Yes, on a fresh Wagtail project
Technical details
python --version.pip show django | grep Version.pip show wagtail | grep Version:.Working on this
If you would like to contribute to this issue, follow these steps: