Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Preloader script Does Not hide: On desktop browser : sometimes. On mobile Always

ThinkingMonkey pro asked 8 years ago


Preloader script Does Not hide the preloader. Onluy sometimes.

vgt pro answered 5 years ago


Unfortunately I have the same problem: https://mdbootstrap.com/support/jquery/preloader-doesnt-work-correctly/

http://test.vgt.pl/mdbootstrap-v2/


Bartłomiej Malanowski staff commented 5 years ago

Did you try this? https://mdbootstrap.com/support/other/freshly-installed-mdb-pro-black-screen/


Tobicic free answered 6 years ago


Hi Michal, today after purchasing I downloaded MDB pro 4.7.0. and unzipped it a) on webserver (Plesk) b) and local (unzip to c:/temp/MDB-pro_4.7.0). After opening from web [http://mydomain.de/index.html] and also from local [c:/temp/MDB-pro_4.7.0/index.html] the preloader (black screen with grey turning circle) will not disappear ...


Bartłomiej Malanowski staff commented 6 years ago

Do you get any logs in the console? What's your browser?


Tobicic free commented 6 years ago

I am using actual Windows Browser IE and Chrome. Here you can see result: http://demo.fixfox.me/MDB/ from unzipped Folder /MDB-pro_4.7.0 (here /MDB).

I think the include causes the error? Integrating code from /mdb-addons/preloader.html directly into index.html instead of calling via #preloader-markup function in mdb.js (line 15712) is working... But if any include causes these problems what will be the solution?

I kept on going with this and now figured out that this is the same solution for lightbox addon in MDB pro ... Yesterday I rad here in forum that others had the same problem with copying code for lightbox snippet. If I copy /mdb-addons/mdb-lightbox-ui.html directly into index.html instead of container "" from your snippet then it works perfecty on webserver as well as local.


Bartłomiej Malanowski staff commented 6 years ago

As I can see, everything is working well. Was this fixed already?


Michal Szymanski staff answered 8 years ago


Send me please the zipped files of your project and I'll investigate the problem. m.szymanski@mdbootstrap.com

ThinkingMonkey pro answered 8 years ago


I do combine it with other custom JS file I use require.js. But, I have been monitoring the order of loading and it goes in this order mdb.min-js -> (couple of other JS) -> require.js -> get preloader and this does not change when the bug occurs.

Michal Szymanski staff answered 8 years ago


Do you use only MDB files or you combine it with others files/plugins/code? The script seems to work fine and I have to identify a reason why it doesn't for you.

ThinkingMonkey pro answered 8 years ago


Version : MDB 4.0.1 Pro It happens sometimes. Experienced it only on desktop. I had a issue with preloaded js files on mobile. After resolving this, haven't experienced this bug on mobile devices.

Michal Szymanski staff answered 8 years ago


What version of MDB do you use?

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No