themustafaomar / jsvectormap

A lightweight JavaScript library for creating interactive maps and pretty data visualization.
https://jvm-docs.vercel.app
MIT License
398 stars 80 forks source link

Error when dragging in mobile #128

Closed sknick closed 1 year ago

sknick commented 1 year ago

When I attempt to drag (pan) the map in mobile, the following error is shown in the console and panning doesn't work:

jsvectormap.min.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'hide')
    at HTMLDivElement.h (jsvectormap.min.js:1:14459)

This appears to be a new issue in 1.5.2 that 1.5.3 unfortunately didn't fix.

themustafaomar commented 1 year ago

I think this is working now isn't it, if the issue still persists please let me know.