markmarkoh / datamaps

Customizable SVG map visualizations for the web in a single Javascript file using D3.js
http://datamaps.github.io
MIT License
3.78k stars 1.01k forks source link

Unable to fire click event on IOS Safari #308

Open srobledo opened 8 years ago

srobledo commented 8 years ago
done: function(datamap) {
            datamap.svg.selectAll('.bubbles').on('click', function() {
                 //Wont work on IOS Safari
                alert("hello"); 
            });
        }
fahadonline commented 7 years ago

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

awalkowiak commented 6 years ago

@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.

teja422 commented 5 years ago

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

awalkowiak commented 5 years ago

@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.