queryloader2 icon indicating copy to clipboard operation
queryloader2 copied to clipboard

overlay is not removed in firefox 42/43

Open horans opened this issue 9 years ago • 4 comments

it seems that the loader finished its work slower in firefox (half a second slower? maybe it has something to do with loading-line fading out), and missed the chance to remove the qLtempOverlay overlay div.

onComplete: function(){
    //fix firefox bug
    if(navigator.userAgent.indexOf('Firefox') !== -1){
        $('#qLtempOverlay').remove();
    }
}

tested on firefox 42/43

ps, in my case, the queryloader2.min.js script is loaded via $.getScript().

horans avatar Dec 29 '15 09:12 horans

Thanks for reporting, will take a look. Could be caused by jQuery's getScript

Gaya avatar Dec 30 '15 13:12 Gaya

hello, im having the same problem on my website, and instead of being removed, it just stays there.

To add extra info to the scenario: the issue doesn't always happen, it happens when i open a new tab, and let it load in the background. after load completes, i navigate to that page and the qLtempOverlay is still there blocking everything over the web-page.

thanks

amjo avatar Jan 24 '16 13:01 amjo

@amjo That's interesting. Maybe an event I am waiting for is not fired. Thanks!

Gaya avatar Jan 26 '16 09:01 Gaya

I have a similiar problem, but with latest Chrome.

Also, my qLtempOverlay fades in to black, no matter what I set as backgroundColor in options.

The problems started when I upgraded to 3.0.9 if that helps.

Thanks for a great plugin by the way!

tmjoen avatar Nov 27 '16 11:11 tmjoen