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: MDB not working without jQuery UI

career.gmbh free asked 4 years ago


I wanted to get rid of jquery UI because it's just old and deprecated. But as soon as i don't use it anymore i get an error when i open my sidenav.

Uncaught TypeError: k.easing[this.easing] is not a function
    at init.run (jquery.min.js:2)
    at u (jquery.min.js:2)
    at Function.k.fx.tick (jquery.min.js:2)
    at lt (jquery.min.js:2)

It seems like easing jqueryUI is needed because of easing.

Do i really have to keep jquery UI ?


Grzegorz Bujański staff commented 4 years ago

Hi. Our components use jQuery easing. But all dependencies that are required for the proper operation of our components are added to the mdb.js file. If you remove your dependencies, this should not affect our components. Maybe you added some custom code that started when you opened Sidenav?


career.gmbh free commented 4 years ago

You are right. The mistake was, that i opened the nav by myself not by the provided sideNav() function. Thanks for the reply.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.18.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No