jQuery-EasyTabs
jQuery-EasyTabs copied to clipboard
Ajax loads before transitionOut ends
Hello, I found an issue where the Ajax content refreshes when clicking on the already selected tab before the animation (transitionOut) completes. I know the content is supposed to refresh (and even find it useful) when the current tab is clicked, but is the Ajax supposed to load while the transitionOut is still working?
I am using:
$("#pagetabs").easytabs({
animate: true,
animationSpeed: 500,
cache: false,
collapsible: false,
defaultTab: "li#pagetabshome",
panelContext: $jq('#pagetabscontent'),
tabActiveClass: "pagetabs-active",
tabsClass: "pagetabs-tabs-container",
tabClass: "pagetabs-tab",
transitionIn: "fadeIn",
transitionInEasing: "swing",
transitionOut: "fadeOut",
transitionOutEasing: "swing",
updateHash: true
});
That's odd. The issue closed and reopened. Must be a glitch.
It's also worth noting that the tab being empty resizes the page very briefly before it is resized again when the tab is populated. A bit of an unattractive flicker is produced in the process. Causes overlap instead if transitions are enabled.