question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropdown items in <nav> tabs doesn't remove .active

See original GitHub issue

Tab JS with <nav> and a dropdown cause issue #17371.

image

Demo: https://codepen.io/anon/pen/NyJyBX

But I’m not sure this is a bug or my markup is wrong.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ysdscommented, Mar 2, 2018

It seems that <ul> with dropup, dropright and dropleft has the same issue: https://codepen.io/anon/pen/ddrmNv

0reactions
mritunjayrcommented, Aug 16, 2020

Hi, I am still facing issue with dropright. it is not removing .active class. it should be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap menu dropdown not removing active class when ...
I am using a Bootstrap menu with a drop ...
Read more >
How to remove active nav-tab when click outside of ...
Bootstrap has the class called “collapse navbar-collapse” which collapses the navigation bar when the user changes the screen resolution.
Read more >
Navs
Navigation available in Bootstrap share general markup and styles, from the base .nav class to the active and disabled states. Swap modifier classes...
Read more >
Bootstrap Tabs Dropdown
3. hidden.bs.tab ( on the prior active tab, the same one when it comes to the hide.bs.tab event) ...
Read more >
Bootstrap Navs - Examples & Tutorials. Learn how to use ...
The base .nav component does not incorporate any .active state. ... active tab and the previous active tab (if available) respectively. hide.coreui.tab This ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found