Open alxAgu opened 3 years ago
Hello @alxAgu unfortunately this feature is not supported yet, even if it would be a great improvement indeed.
The reason is that all the drag n drop functionalities relies on some hooks from beautiful-react-hooks (a library I wrote) which exports only mouse events related hooks.
A quick and elegant way to quite solve this and support touch events out of the box, would be to duplicate the useMouse hook into something like useTouch
then this library would easily support the touch by simply choosing from useMouse
or useTouch
based on the device.
At the moment I can't really tell when we'll have the time to develop such a feature, but it would be splendid if you could open a pull request for useTouch
and possibly for its integration in beautiful-react-diagrams
, I would very much love to review it as soon as possibile
thank you
Is your feature request related to a problem? Please describe. I can't use it on the iPad (can not drag nodes or connections).
Describe the solution you'd like It looks like the library does not support Touch Events