etray7
Posts: 7
Joined: Tue Sep 21, 2021 11:23 am

Click event on Map doesnt fire in IE11

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?
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: Click event on Map doesnt fire in IE11

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!
Magdalena Gut
Developer and Highcharts Support Engineer
etray7
Posts: 7
Joined: Tue Sep 21, 2021 11:23 am

Re: Click event on Map doesnt fire in IE11

If I use addEventListener for click in IE11 it triggers only when you did double click
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: Click event on Map doesnt fire in IE11

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!
Magdalena Gut
Developer and Highcharts Support Engineer

Return to “Highcharts Maps”