jQuery-Smart-Wizard icon indicating copy to clipboard operation
jQuery-Smart-Wizard copied to clipboard

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

Open Hamdan85 opened this issue 11 years ago • 6 comments

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.

Hamdan85 avatar Feb 20 '14 18:02 Hamdan85

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

mstratman avatar Feb 20 '14 18:02 mstratman

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.

0101adm avatar Feb 20 '14 19:02 0101adm

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 avatar Feb 20 '14 19:02 Hamdan85

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

Hamdan85 avatar Feb 20 '14 19:02 Hamdan85

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..

Hamdan85 avatar Feb 21 '14 01:02 Hamdan85

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

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

akhildave avatar Nov 12 '14 11:11 akhildave