Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small bug: if newWindow is false the menu item is constantly active #2878

Open
finom opened this issue May 9, 2024 · 0 comments
Open

Small bug: if newWindow is false the menu item is constantly active #2878

finom opened this issue May 9, 2024 · 0 comments

Comments

@finom
Copy link

finom commented May 9, 2024

image

This is the screenshot from the header.

aria-current="true" attribute is constant even though I'm on another page.

_meta.json:

...
"getting_started_link": {
    "title": "Getting Started",
    "href": "/getting-started",
    "type": "page",
    "newWindow": false
  },
...

Even if I change it to an outside link I get the same result:

...
"getting_started_link": {
    "title": "Getting Started",
    "href": "https://example.com/getting-started",
    "type": "page",
    "newWindow": false
  },
...

Removing the "newWindow" property doesn't make any change.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant