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

Click event on Map doesnt fire in IE11

Fri Oct 08, 2021 12:04 pm

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: 227
Joined: Tue Aug 24, 2021 1:32 pm

Re: Click event on Map doesnt fire in IE11

Tue Oct 12, 2021 11:38 am

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!

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

Re: Click event on Map doesnt fire in IE11

Mon Oct 18, 2021 12:03 pm

If I use addEventListener for click in IE11 it triggers only when you did double click

magdalena
Posts: 227
Joined: Tue Aug 24, 2021 1:32 pm

Re: Click event on Map doesnt fire in IE11

Mon Oct 18, 2021 1:05 pm

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!

Return to “Highcharts Maps”