-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
[Fix #17371][V4] Deactivating dropdown links in nav tab #17642
Conversation
This bug happens with normal tab links also. Everytime you click a link, active class is added to it and it can't be clicked again because the active class is never removed. Meaning you can only visit every tab once. |
@haBuu I'm trying to recreate the behavior you're talking about, but I can't seem to do it. Can you post a JS Fiddle or other example? |
http://jsfiddle.net/qz8a1ay5/4/ |
Hi @haBuu! You appear to have posted a live example (https://fiddle.jshell.net/qz8a1ay5/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
@haBuu I think this is what you were going for: https://fiddle.jshell.net/a_matt_appeared/uvcos7q7/ This is better, but still not working. In this case, I'm not sure if this behavior will be supported by v4 out of the box. From what I understand, navs are meant to be static objects where there is only one The use of But if you have an example where this worked in v3, post it. |
Hi @matt-hernandez! You appear to have posted a live example (https://fiddle.jshell.net/a_matt_appeared/uvcos7q7/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
Updated fiddle to satisfy @twbs-lmvtfy |
Here is a working v3 version. http://jsfiddle.net/qz8a1ay5/5/ |
Hi @haBuu! You appear to have posted a live example (http://fiddle.jshell.net/qz8a1ay5/5/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
@matt-hernandez Not from me. @fat is the one to run this by. |
Would love a review here from someone :). /cc @Johann-S @bardiharborow (please tell me to stop pinging y'all if this gets too annoying 😆) |
For me everything is fine @mdo (and that's ok to ping me don't worry 😃) |
<3 thanks everyone |
This fixes issue #17371
Unit tests are included. If there is any feedback, feel free to let me know.