Het eerste aangepaste Top Nav-link wordt onjuist weergegeven als geselecteerd

AI-generated summary

The Discourse theme component has an issue where the first custom top navigation link incorrectly appears selected, particularly on mobile. nathank details the problem, showing that the toggle link displays the label of the selected link (e.g., ‘Upcoming’ for the /latest list), even when it shouldn’t be selected. A screenshot demonstrates the issue nathank. awesomerobot asks for the nav links configuration to investigate, sharing a screenshot of their working configuration. nathank suspects the problem is specific to the #calendar-and-event plugin, as their configuration links to an Events category and a site calendar.

This Theme Component has a significant issue at present:

The Problem

The first custom top nav link appears to be selected; this is of course nonsense as it isn’t usually a list. This is our homepage / Latest list:

Mobile - effect is more pronounced.

This is due to the toggle taking on the label of the (inappropriately) apparently selected custom top nav link.

For example, this is showing the /latest list, but it displays Upcoming on the list-control-toggle-link and it appears to be selected on the dropdown:

1 like

Can you share the configuration of the nav links setting? is “Upcoming” linking to a category/tag/something else? when I add a link using the component it seems to work ok…

image

Het kan een probleem zijn dat specifiek is voor de #kalender-en-evenementen-plugin (wat zou verklaren waarom niemand er eerder over geklaagd heeft).

Onze configuratie heeft Aankomende evenementen die linken naar onze speciale Categorie Evenementen, en de andere naar onze sitekalender.

Onze use case is het mooi aan elkaar knopen van onze evenementenlijst en kalender, aangezien de plugin dit niet echt standaard biedt.