Topic: using modals in version 4 causes error console

nick.kaynes priority asked 1 year ago


I opening modals in my app and when I click button to open modal Im getting following errors in console :

enter image description here

The error is caused in following line in mdb.min.js.

Could it be related with changes in animations in version 4 for mdb standard ?

enter image description here


Dawid Wajszczuk staff commented 1 year ago

Hi. Can you recreate this issue in a snippet https://mdbootstrap.com/snippets/? Because I'm unable to reproduce your error.


Dawid Wajszczuk staff answered 1 year ago


Hi,

Try adding pe-none class to your button with Font Awesome icon which triggers modal. Here is the snippet https://mdbootstrap.com/snippets/standard/d-wajszczuk/3936017. The first example is with pe-none class and the second is without.

Keep coding,
Dawid


nick.kaynes priority answered 1 year ago


Thank you. That fixed it.


nick.kaynes priority answered 1 year ago


Here is a linkeof demo environment using mdb 4.0 that replicates the error :

go to following page and loginhttps://learn-now.gr/Login

Credentials:username : admin**password : **Qwerty123!@#

Once logged in go to following url : https://learn-now.gr/Admin/Contents/ContentItems/48kk6m14sfe125cptyrys57cwt/Edit

Here you will see various widgets that have a configure button to open an mdb modal which causes the error

Here is screencast showing how to produce error

https://drive.google.com/file/d/1g26mKHgkctUpJg5dI85TSuQMie6qlt7z/view?usp=sharing



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.0.0
  • Device: windows desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No