djibe / material

Material Design 2 for Bootstrap 4 (active fork of Daemonite Material)
https://djibe.github.io/material/
MIT License
68 stars 11 forks source link

dropdown link not working #48

Closed Duplore closed 3 years ago

Duplore commented 3 years ago

Having this issue with the linking in the dropdown-menu

https://stackoverflow.com/questions/15050095/a-link-not-working-by-clicking-only-work-by-open-link-in-new-tab-command

djibe commented 3 years ago

Hi, I don't see how this JS bug relates to this CSS library.

Duplore commented 3 years ago

links do not work in dropdown.

Duplore commented 3 years ago

I can't seem to find an issue on why it's doing that, also this issue occurs in your docs for dropdowns so its not my side.

Duplore commented 3 years ago

Links do not work for dropdown items nor other links that's not related to the class 'dropdown-item'

djibe commented 3 years ago

Hi @Duplore , the docs.js file blocks links default behaviour in the documentation. It is intended to prevent weiird actions when playing in the documentation sandbox. In your own projects, it won't be a problem. I call material.min.js in my own projects and have no dropdown-item or dropdown links problems.