datamaps icon indicating copy to clipboard operation
datamaps copied to clipboard

Unable to fire click event on IOS Safari

Open srobledo opened this issue 8 years ago • 4 comments

done: function(datamap) {
            datamap.svg.selectAll('.bubbles').on('click', function() {
                 //Wont work on IOS Safari
                alert("hello"); 
            });
        }

srobledo avatar May 20 '16 02:05 srobledo

@srobledo I am facing similar issue, were you mange to find any solution ?

fahadonline avatar Aug 31 '17 11:08 fahadonline

@srobledo @fahadonline I had the same problem. However when i set popupOnHover to false in geographyConfig in case of ios device, then click event was working as expected.

awalkowiak avatar Nov 28 '17 13:11 awalkowiak

Hi @srobledo @fahadonline @awalkowiak, me too facing the same problem. Have anyone got any solution for this?

teja422 avatar Oct 29 '19 08:10 teja422

@teja422 as in my previous comment:

However when i set popupOnHover to false in geographyConfig in case of ios device, then click event was working as expected.

Although it is from 2 years ago and I am not sure which version of datamaps I was using back then.

awalkowiak avatar Oct 29 '19 09:10 awalkowiak