I am using Quicktabs7.x-3.6, and have been for sometime without issue. Recently it stopped working (does none of the accordion actions revealing a form) it had done so well. I was experimenting with a few new modules and responsive designs at the time, so it took a while to find the culprit.
The culprit appears to be the jQuery Update 7.x-2.4 module. Enabling this module causes my quicktabs do stop doing anything. It also causes a minor but visible UI change (please see attached screenshots).
I am in the process of implementing the bootstrap 3 theme, which is why I installed jquery_update.
This appears to be in direct conflict with the functionality where a horizontal menu becomes a vertical menu that is compressed, when the view port shrinks (this is a jquery process), as in Bootstrap 3. So the upshot is the same functionality that drives the responsive menu change also breaks the quicktabs.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | jq2.6_quicktabs_suddenly_too_high.PNG | 13.4 KB | longtom |
| quicktabs-jquery_update_enabled.png | 6.8 KB | longtom | |
| quicktabs-jquery_update_disabled.png | 15.81 KB | longtom |
Comments
Comment #1
longtom commented(added note above)
Comment #2
longtom commented(added note above)
Comment #3
longtom commentedComment #4
netw3rker commentedCan you try this against 7.x-3.x-dev then let us know?
Comment #5
longtom commentedHello netw3rker... I installed 7.x-3.x-dev this morning, enabled jquery_update, cleared cache. Still does not work.
I do have some hopefully useful info, however:
The functionality seems to degrade according to the version of jquery I use.
jquery version 1.5 the quicktabs work fine (they expand and do not have the extra line break), but the horizontal responsive menus do not work.
jquery 1.7, 1.8 BOTH items work, although the quicktabs now have the extra line break in them.
jquery 1.9 1.10 the responsive menu works, but the quicktabs no longer work
hope this is informative.
Comment #6
netw3rker commentedThat is helpful! Also, do you get any console errors?
(just in case you don't know what console is or how to use it, here's info for Firefox: http://www.howtogeek.com/105320/how-to-use-firefoxs-web-developer-tools/ , and Chrome: https://developer.chrome.com/devtools/docs/console )
Comment #7
longtom commentedYes, there are some in each version.
1.5
Use of getAttributeNode() is deprecated. Use getAttribute() instead.
[on mouseover the quicktabs] Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
1.7
Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
[on clicking a tab] TypeError: $target.offset(...) is null
1.8
Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
[onlicking a quicktab]
Error: Syntax error, unrecognized expression: [name="quickset-inquiries_0"] (my tab is called 'inquiries')
1.9 [now fully broken]
TypeError: c.browser is undefined
Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
1.10
[now fully broken]
TypeError: c.browser is undefined
Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
Comment #8
longtom commentedany thoughts about this?
Comment #9
cehfisher commentedI'm seeing the same issue using the latest version of Bootstrap, Quick tabs 7.x-3.6, and version 7.x-2.4+5-dev of jQuery Update. I will report back if I find any solutions.
Comment #10
longtom commentedJust checking in. Is there a workaround for this?
Comment #11
longtom commentedFor this remaining issue, I think you just need to place the following in your css:
.ui-icon {
display: inline;
}
Comment #12
stephng commentedI am having the same issue. It seems that /misc/ui/jquery.ui.tabs.min.js is not loaded at all. Is there any fix for this already? Thanks!
Comment #13
longtom commentedUPDATE:
A New jquery update module has been released (7.x-2.6). Unfortunately, this is breaking my quicktabs in a new way, making my tabs expand to extremely tall (it seems to be adding
element.style {
display: block;
height: 621px;
}
So I have not placed this in production for several months. (but some modules are requiring it now).
It seems this height attribute is getting added in code somewhere, but I am unsure where. (screenshot attached).
Comment #14
longtom commentedThis issue was addressed in a new patch at https://www.drupal.org/node/2534684/
Comment #15
nwom commentedThis issue is solved with the following patch: #2534684: Quicktab Accordion Autoheight setting not correctly applied with new versions of jQuery UI