jQuery-EasyTabs icon indicating copy to clipboard operation
jQuery-EasyTabs copied to clipboard

Ajax loads before transitionOut ends

Open DaAwesomeP opened this issue 11 years ago • 2 comments

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
});

DaAwesomeP avatar Jun 11 '13 01:06 DaAwesomeP

That's odd. The issue closed and reopened. Must be a glitch.

DaAwesomeP avatar Jun 11 '13 15:06 DaAwesomeP

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.

Rosseyn avatar Jun 22 '13 00:06 Rosseyn