question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Navigation sections are rendered as links

See original GitHub issue

Contribution guidelines

I’ve found a bug and checked that …

  • … the problem doesn’t occur with the mkdocs or readthedocs themes
  • … the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
  • … the documentation does not mention anything about my problem
  • … there are no open or closed issues that are related to my problem

Description

In the version 8.5.0 a first navigation section is rendered as a link:

image

Expected behaviour

As it’s just a title nothing should happen when you hover over it.

Actual behaviour

When you hover over it, the section acts as a link, although it’s not clickable. Other sections renders fine.

Steps to reproduce

Enable features mentioned in the configuration below.

Package versions

  • Python: 3.10.4
  • MkDocs: 1.3.0
  • Material: 8.5.0

Configuration

theme:
  name: material
  features:
    - navigation.sections
    - navigation.tabs
    - toc.integrate

System information

  • Browser: Firefox, Chrome

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
squidfunkcommented, Sep 18, 2022

Released as part of 8.5.2.

0reactions
squidfunkcommented, Sep 18, 2022

Fixed in f30775fa0. It was indeed a regression related to the merge, as the navigation code is slightly different in Insiders due to the support for navigation icons, status and pruning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

<nav>: The Navigation Section element - MDN Web Docs
The <nav> HTML element represents a section of a page whose purpose is to provide navigation links, either within the current document or...
Read more >
How Links in Headers, Footers, Content, and Navigation Can ...
This week we're going to chat about links in headers and footers, in navigation versus content, and how that can affect both internal...
Read more >
Keep Navigation Links at one section and render it in all other ...
I have 100 web pages to my web site. All web pages has links to other 99 pages. If i want to add...
Read more >
How to create links to sections on the same page in HTML
The following sections show you how to link to the top, bottom, or a specific section on a web page. Choose a method...
Read more >
Insert Section Navigation - Blackbaud
The Section Navigation component inserts a set of navigation links wherever it appears in a Web page (as invoked by either the wrapper...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found