thecodemine / formwizard

jQuery plugin based on top of jQuery UI which turns a form into a multistep wizard. Integrates with the jQuery form plugin for AJAX submission of the form, the validation plugin for client side validation and the BBQ plugin for enabling the browsers back and forward buttons.
140 stars 54 forks source link

After fast click, double click, sometimes a few steps shown #19

Open ghost opened 12 years ago

ghost commented 12 years ago

Hello! I have a problem. Sometimes after fast click, double click on "next"/"previous" step buttons, i see a few steps on the screen. Thanks!

thecodemine commented 12 years ago

Hi,

thanks for reporting this issue, do you mind giving me some more info? This as I'm unable to reproduce it myself by clicking on the back and forward buttons in the wizard.

what version of the plugin are you using?

in what browser(s) does this occur?

Could you supply me an example that displays the behavior? You can send the code/link to jan.sundman [at] aland.net

Br, /Jan

meh-uk commented 12 years ago

I think this is with the next/previous buttons being links - and it should be covered by issue #26 where I've submitted some code which fixes this issue.

rinogo commented 6 years ago

I have this problem, as well. Just clicking quickly on the "Next" button a bunch reproduces the bug consistently. Unfortunately, the code in #26 doesn't prevent the behavior for me.

rinogo commented 6 years ago

This isn't really a fix (still working on that), but as a temporary workaround, setting the animation duration to 0 prevents this from happening:

$("#wizard").formwizard({ 
    inDuration : 0,
    outDuration: 0
});