Topic: mdb.js executes some operations immediately
freitagm free asked 7 years ago
Jakub Strebeyko staff answered 7 years ago
Dear freitagm,
Thank you for bringing this up. This behavior is intended, yet depending on your desired outcome, you may consider some minor (in contrast to the 'defer mdb loading' way) fixes. They could include (but in no way are limited to) creating a setTimeout(function() {$yourelement.addClass('fadein')}, 0);
function on your newly generated components, or a custom one, changing some of the element's re-rendering attributes, like "width". Hope it helps.
With Best Regards,
Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No