Skip to content

BS5: Pages in navigation menus remain visible once activated #420

Closed

Description

@gadenbuie

With Bootstrap 5, pages in dropdowns in the navigation menu aren't being handled properly. Once a page in a dropdown is made active, both the tab pane and its link remain active forever.

Kapture.2023-02-24.at.09.54.57.mp4
Reprex
---
title: Pages in Nav Dropdown
output:
  "pkgload::load_all(); flex_dashboard":
    theme: { version: 5 }
    vertical_layout: scroll
    self_contained: false
---


# Page 1

Just a regular page here

# Page 2 {data-navmenu="Topics"}

### Page 2 Box

Page 2 is accessed via the nav manu 'Topics'

# Page 3 {data-navmenu="Topics"}

### Page 3 Box

Page 3 is also accessed via the nav menu 'Topics'
```

</details>

Activity

  1. self-assigned this
    on Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions