Topic: using modals in version 4 causes error console
nick.kaynes pro premium priority asked 3 years ago
I opening modals in my app and when I click button to open modal Im getting following errors in console :
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 ?
Dawid Wajszczuk staff answered 3 years 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 pro premium priority answered 3 years 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
nick.kaynes pro premium priority answered 3 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: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.0.0
- Device: windows desktop
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No
Dawid Wajszczuk staff commented 3 years ago
Hi. Can you recreate this issue in a snippet https://mdbootstrap.com/snippets/? Because I'm unable to reproduce your error.