mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
304 stars 164 forks source link

When user starts to click rapidly on next or previous it gets buggy #53

Open Hamdan85 opened 10 years ago

Hamdan85 commented 10 years ago

If the user for some reason starts to click real fast on next or previous button, the structure gets buggy and starts to show more than one step. At this point, the java has a breakpoint and stops to run the code, so the page stop working.

mstratman commented 10 years ago

Can't reproduce here: http://mstratman.github.io/jQuery-Smart-Wizard/

Please see if you can. If not, please provide a sample page that exhibits the problem. Thanks

0101adm commented 10 years ago

i can reproduce on that link. FF 27. window 7.

just click the 'next' button like trying to revive Mac on Mike Tyson's Punchout.

Hamdan85 commented 10 years ago

I just reproduced on your page... yours seems better because you have overflow: hidden, so the fields do not apper down there, but your anchors gets crazy...

Hamdan85 commented 10 years ago

obs: im not using firefox... im using chrome...

Hamdan85 commented 10 years ago

Just found out that this is due js async behavior. Try to put a lock variable on outgoing event and receiving event... Found out because when you turn off the transition, it works fine..

akhildave commented 9 years ago

I had same issue with smart wizard, Disabling Transition was the solution ,, Thanks @Hamdan85 .

    $(document).ready(function() {
        // Smart Wizard     
        $('#wizard').smartWizard({transitionEffect: "none"});
    });