Closed pablobernabeu closed 3 years ago
Please confirm if the issue exists on the latest version of the Academic template (https://github.com/wowchemy/starter-academic ), and if so, the steps to reproduce the issue on the latest Academic template.
Thanks--will do.
Hi @gcushen, I have good news. I've tested the dropdown menu in an Academic template from scratch, while using the latest versions of Academic and Hugo. The bug is gone.
menus.toml
# Navigation Links
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
# desired widget in your `content/home/` folder.
# The weight parameter defines the order that the links will appear in.
[[main]]
name = "Home"
url = "#about"
weight = 10
[[main]]
name = "Posts"
url = "#posts"
identifier = 'posts'
weight = 20
[[main]]
name = "Projects"
url = "#projects"
parent = 'posts'
weight = 30
[[main]]
name = "Publications"
url = "#featured"
parent = 'posts'
weight = 40
[[main]]
name = "Contact"
url = "#contact"
weight = 60
# Link to a PDF of your resume/CV from the menu.
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
# [[main]]
# name = "CV"
# url = "files/cv.pdf"
# weight = 70
Best regards, Pablo
Hello,
Thank you for the great Academic theme.
I would be very grateful for your help with a bug.
Describe the bug
Hovering over a dropdown menu refreshes the website, that is, it re-runs the current URL.
To Reproduce
An example is available on my website. To witness the bug,
/#workshops
section,Notice that, as soon as you hover on the Profile dropdown, the website is refreshed to the initial URL,
/#workshops
.The relevant menu.toml file is available, as are all other files in the same repo.
Expected behavior
Hovering on the dropdown menu should not shift the website to any other section; it should only lead to dropping down the submenu options.
Technical details:
Thank you very much