Hey guys,
I'm not all that familiar with Drupal, Php, or even Javascript in general (learning quick!) so you will have to excuse me if this is not a bug. Or perhaps it's even working as intended.
Anyways the situation is as such:
1 Quick Tabs menu with 3 Tabs. All three tabs contain a single View. All tabs are loaded via Ajax. Tab 1 is default.
If you click on Tab 2 and then quickly click on Tab 3 you will be shown the content from both (assuming this is a newly refreshed page). From what I witnessed the only content loaded by default is of course the default Tab 1. Everything else is appended via Ajax on the first click to the "#quicktabs-container".
However, from the javascript I'm seeing in Quicktabs.js the function which hides the tab pages fires immediately upon tab click and not after ajax load completion. This would effectively hide all content and prepare the container for any new ajax content. This means if you click two or more tabs before the first ajax content has finished loading then it will remain visible as the clear container event fired before ANY content was loaded.
Hopefully that makes sense.
Comments
Comment #0.0
louis8789 commentedremoved code as errors were found
Comment #1
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue. This doesn't appear to have any code so believe this may not make it, sorry! Thanks though!
If still an issue or needed for 4.0.x (latest branch) feel free to reopen