yanivam / react-svg-worldmap

A simple, compact and free React SVG world map.
MIT License
119 stars 43 forks source link

[BUG] double click to zoom trigger the onclick event #115

Closed warenbe closed 1 year ago

warenbe commented 2 years ago

Hi when you enable richinteraction, and then double click somewhere to zoom, it will trigger the onclick if you double clicked on a country double click should not trigger the onclick event

Josh-Cena commented 2 years ago

This is still just playing around, right? 😄

warenbe commented 2 years ago

well, yes, i try to do something like "click the country, get information" ;)

yanivam commented 2 years ago

Hey @warenbe, Do you have a quick fix for this? If so feel free to create a PR and we will review it. Sorry about the delay, it has been a very busy time for me lately. Yams

warenbe commented 2 years ago

Hi no sorry i'm, like you probably, overwhelmed by work, so the project using your tool is in pause currently but if i find some time to resume it, i'll check it

yanivam commented 1 year ago

Zoom is not a feature of this repo