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

Dropdown with container="body" is broken #9

Open
Klinton90 opened this issue May 29, 2020 · 0 comments
Open

Dropdown with container="body" is broken #9

Klinton90 opened this issue May 29, 2020 · 0 comments

Comments

@Klinton90
Copy link

Code example

<li mdbDropdown class="nav-item dropdown" container="body">
    <a mdbDropdownToggle
           mdbWavesEffect
           class="nav-link dropdown-toggle"
           id="navbarDropdownMenuLink"
           data-toggle="dropdown"
           aria-haspopup="true"
           aria-expanded="false">Blah</a>
    <div *dropdownMenu class="dropdown-menu dropdown dropdown-primary" role="menu">
          <a mdbWavesEffect
             translate
             class="dropdown-item waves-light"
             (click)="navbar.hide()"
             routerLink="/admin-panel"
             routerLinkActive="active">blah2</a>
    </div>
<li>

Error:
ERROR TypeError: Cannot read property 'parentNode' of null

@smolenski-mikolaj smolenski-mikolaj transferred this issue from mdbootstrap/mdb-angular-ui-kit Sep 16, 2021
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