bkrem / react-d3-tree

:deciduous_tree: React component to create interactive D3 tree graphs
https://bkrem.github.io/react-d3-tree
MIT License
1.06k stars 268 forks source link

fix: add touchmove event #448

Closed Adeams1805 closed 1 year ago

Adeams1805 commented 1 year ago

The props draggable=false desn't work on mobile because the event is not "mousemove" but "touchmove".

I encountered the bug myself and saw this opened issue

Not a big change, just one line, but very needed in my opinion !

bkrem commented 1 year ago

Thank you for taking the time to fix this @Adeams1805 🙏

I have some catching up to do on this repo. Been swamped with professional responsibilities + out sick during the last few weeks, at the cost of any OSS contributions and addressing issues here (even this silly 1 liner bug!).

bkrem commented 1 year ago

Fixed in https://github.com/bkrem/react-d3-tree/releases/tag/v3.5.1

Thanks again 💯

Adeams1805 commented 1 year ago

No worries ! I'm glad I was able to contribute 👍