Page 1 of 1

Click event on Map doesnt fire in IE11

Posted: Fri Oct 08, 2021 12:04 pm
by etray7
Hi everyone, I have the problem that click event doesn't fire for IE11 and thats why select event also not fired, for Chrome everything is fine. Does it known problem? Is there any opportunity to fix it?

Re: Click event on Map doesnt fire in IE11

Posted: Tue Oct 12, 2021 11:38 am
by magdalena
Hi,

Thanks for contacting us with your question!

If you are using the onclick event in your code, instead you should use addEventListener to attach the respective events to the elements.

Let me know if that worked for you,
Regards!

Re: Click event on Map doesnt fire in IE11

Posted: Mon Oct 18, 2021 12:03 pm
by etray7
If I use addEventListener for click in IE11 it triggers only when you did double click

Re: Click event on Map doesnt fire in IE11

Posted: Mon Oct 18, 2021 1:05 pm
by magdalena
Hi,

I was trying to reproduce your problem, but in my case, everything is working correctly.
Could you reproduce the issue in an online editor that I could work on?

Regards!