malsup / blockui

jQuery BlockUI Plugin
http://jquery.malsup.com/block/
1.69k stars 506 forks source link

Suggestion for addtl block when block present #118

Open va-dittrich opened 9 years ago

va-dittrich commented 9 years ago

For version 2.70.0-2014.11.23. Noticed that if I have a block in place & another is set, there's a flash as blockui removes the initial block with fadeout=0 but the second block's fadein is left as is. Recommend changing

// remove the current block (if there is one) if (full && pageBlock) { remove(window, {fadeOut:0});

To:

// remove the current block (if there is one) if (full && pageBlock) { remove(window, {fadeOut:0}); opts.fadeIn = 0; }