Topic: Preloader keeps spinning - even when page is fully loaded
                                            
                                            Ollie Vincent
                                     pro                                     asked 8 years ago                                
                                                    
                                                    jan.richter
                                             pro                                             answered 7 years ago                                        
<script>
    $(window).on("load", function () {
        $('#mdb-preloader').fadeOut('slow');
    });
    $(function () {
        $.nette.init();
        $('[data-toggle="tooltip"]').tooltip();
        $('body').tooltip({ selector: '[data-toggle="tooltip"]' });
        $(".button-collapse").sideNav();
    });
</script>                                                                                    
                                                    
                                                    Jakub Strebeyko
                                             staff                                             answered 8 years ago                                        
4.5 release and turns out some of our components got effected - Spinner seems to be one of them. Don't worry though, the team is going to inspect its case soon and be back with a fix. Until then, I'd personally would suggest going after the ol' .fadeOut().
With Best Regards,
Kuba                                                                                    gwinnem@strong.tv pro commented 7 years ago
Still not fixed in MDB-Gulp-Pro_4.5.13
Jakub Strebeyko staff commented 7 years ago
hey @gwinnem@strong.tv,
Thanks for noting! Apparently, there are cases when the jQ load function's callback are not happening, which might have to do with the very way the preloader is constructed. I am submitting a bug report on this one. Has the above hot-fix solution help you in any way?
With Best Regards,
Kuba
                                                    
                                                    gwinnem@strong.tv
                                             pro                                             answered 7 years ago                                        
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Debrabandere pro commented 8 years ago
Hi, I have that same problem in Edge and Firefox. Chrome works fine here.