On some mobile devices, scrolling can a window resize event to fire. The plugin then responds and unnecessarily redraws the tabs. Then, when the tabs are redrawn, the original .current tab doesn't stay open.
Something like this could help the base.resize() function from unnecessarily re-initializing:
Thanks for the bug report and coding details; I'll take a look into it. I've been working on a rewrite of this script as well as a superceding version which doesn't require JavaScript.
On some mobile devices, scrolling can a window resize event to fire. The plugin then responds and unnecessarily redraws the tabs. Then, when the tabs are redrawn, the original
.current
tab doesn't stay open.Something like this could help the
base.resize()
function from unnecessarily re-initializing:I didn't really look at how to fix the part where when the tabs are re-initialized the
.current
tab changes.