Topic: Click on svg element gives error on IE
Kauwen pro asked 7 years ago
When you click on an svg element mdb.js crashes on following code in function getWavesEffectElement:
while (target.parentElement !== null) {
if (target.classList.contains('waves-effect') && (!(target instanceof SVGElement))) {
In IE a svgelement has no parentElement or classList property.
Add comment
Edyta Dabrowska free answered 7 years ago
Do you have a mask on your page? If so try turning it off.
If it is not a mask problem then thanks for noticing this and we will try to fix this in the future.
Regards,
Kauwen pro answered 7 years ago
There is no code involved, it is standard wave effect handling. Just add a svg element in a html page and click on it (in IE11)
Edyta Dabrowska free answered 7 years ago
Hello,
could you send me more of your code so I could reproduce your error?
Regards,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags