react-chartjs-2
react-chartjs-2 copied to clipboard
[Bug]: onTouchEnd not working on the touch screens (mobile/tablet)
Would you like to work on a fix?
- [ ] Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
On the touch screens, when I start to touch an element that is out of the pie chart, then drag and drop it into the chart. The event onTouchEnd doesn't work.
It just works when I start to touch from a position in the pie chart.
My purpose is to handle dragging an element from outside of the chart and dropping it into a part of the chart to update its label.
Reproduction
https://bitbucket.org/mobilefolkteam/test-chart/src/main/
chart.js version
4.2.1
react-chartjs-2 version
5.2.0
Possible solution
No response