chrisrzhou / react-globe

Create beautiful and interactive React + ThreeJS globe visualizations with ease.
https://react-globe.netlify.app/
MIT License
306 stars 54 forks source link

Touch Events on markers not working #44

Open birdm4n opened 4 years ago

birdm4n commented 4 years ago

Touch events are not fired when clicking on markers. Gestures (swipe/zoom etc.) work well but touch inputs are not handled when one taps on a marker. Tested on different machines with touch emulation and with real touch screen.

chrisrzhou commented 4 years ago

Should be able to add these explicitly soon!

hexiaok commented 4 years ago

Hey @chrisrzhou same issue here. After I added "tippy js" to customize the tooltip, tooltip doesn't show when clicking the markers in touchscreen, sometimes long press might work, but seems to be a bug here; for desktop it still works well. And appreciate your awesome job here:)

kenchambers commented 4 years ago

I noticed this same problem as well for mobile! tooltip is not appearing, touch event function is not firing.

birdm4n commented 4 years ago

@chrisrzhou can you say anything about when you are planning to release the version that fixes that? Or is there a workaround/hotfix for the meantime?

mledwards commented 3 years ago

Mobile appears to be double tap for me. Odd behaviour. I'm going to try and force it to be single click.

bcaylor10 commented 3 years ago

Any update on this? I'm unable to get it working on single or double click. I could probably put something together, but wanting to know what the progress on an actual fix is.

derwaldgeist commented 3 years ago

First off, I love the concept of this package, as it is leightweight and would offer just what I need for my usecase. However, I'd definitely need marker touch events. Tried out the samples on my iPhone, and they did not work. Also, I noticed that the inertia panning does not feed really natural on mobile devices. It's too slow and stops too quickly. Is there a way to adjust this?

nimajnsr commented 2 years ago

any updates on this issue ?