HumbleSoftware / Flotr2

Graphs and Charts for Canvas in JavaScript.
http://www.humblesoftware.com/flotr2/
MIT License
2.45k stars 528 forks source link

Mouse drag on touch devices -- feature request #294

Closed galdazbiz closed 9 years ago

galdazbiz commented 9 years ago

I've tried the latest demos and the envision.js demos and I think the issue is not solved yet. Here is the closed topic regarding this https://github.com/HumbleSoftware/Flotr2/issues/177 To test the issue, try to scroll down (swipe) with your mobile device on top of the chart and you will see that the chart is deactivating the mobile scrolling/swipping. If your page has several charts and text, is not a problem, it's just anoying, but that's it, but if the chart is full page size, then you have a problem ;) Thanks again!

cesutherland commented 9 years ago

Hello @nutriapp, can you check and see if this fixes your issue?

https://github.com/HumbleSoftware/Flotr2/blob/master/flotr2.js#L1613

galdazbiz commented 9 years ago

shame on me, this solves perfectly the issue, I should have read the 7k lines.. or the instructions at leats. Thank you very much!

cesutherland commented 9 years ago

No problem!