MDB5 Modal - JS Error


Topic: MDB5 Modal - JS Error

ViS pro priority asked 2 months ago

Actual behavior Modals works correctly, BUT when launch the modal (clicking on the button), the JavaScript error appears in the console.

Resources (screenshots, code snippets etc.) enter image description here


Wojciech Staniszewski staff answered 2 months ago

If you add an icon to <a> it will not see the target correctly when you click on it. Your solution might be adding style pointer-events: none to <i>.


Wojciech Staniszewski staff answered 2 months ago

Please create a snippet here: https://mdbootstrap.com/snippets/ so we can see what the problem is.


ViS pro priority commented 2 months ago

https://mdbootstrap.com/snippets/standard/vis/2869689#html-tab-view

Errors appear after a while after several clicks (sometimes at once).


ViS pro priority answered 2 months ago

Thanks a lot, problem solved!

a i {pointer-events: none !important;}

Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB 5
  • MDB Version: 3.1.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No
Tags