You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today @rebecca-patton found out that the WVU dropdown navigation we use in the design system shares a class with Bootstrap dropdowns: .dropdown-toggle.
If someone wants to use a Bootstrap dropdown, the styles from the WVU Nav Dropdowns hide the Bootstrap dropdown (via display: none;, here's the relevant line).
The fix
To fix this, we should re-name the .dropdown-toggle class in the WVU Nav Dropdowns to something else.
Here's a (not very semantic) Bootstrap dropdown to test with:
This has been a problem for quite awhile. Here is how I fix it in my applications. First, comment out old file, create a custom/_wuv-nav-dropdowns.scss
Then you'll need to fix any reference in navbar html classes from the following list
.dropdown to .wvu-dropdown .dropdown-toggle to .wvu-dropdown-toggle .dropdown-active to .wvu-dropdown-active
The better fix would be to remove this navbar and replace it with bootstraps navbar. This has come up in several conversation before. I know hover menus have been part of the conversation of why it hasn't been done prior, but there are fixes for that https://codepen.io/tutsplus/details/eYOGmeE
The problem
Today @rebecca-patton found out that the WVU dropdown navigation we use in the design system shares a class with Bootstrap dropdowns:
.dropdown-toggle
.If someone wants to use a Bootstrap dropdown, the styles from the WVU Nav Dropdowns hide the Bootstrap dropdown (via
display: none;
, here's the relevant line).The fix
To fix this, we should re-name the
.dropdown-toggle
class in the WVU Nav Dropdowns to something else.Here's a (not very semantic) Bootstrap dropdown to test with:
The text was updated successfully, but these errors were encountered: