MrBlenny / react-flow-chart

🌊 A flexible, stateless, declarative flow chart library for react.
https://mrblenny.github.io/react-flow-chart/index.html
MIT License
1.49k stars 306 forks source link

I having some issues to insert a new Node in mobile mode #106

Open orestesparra opened 4 years ago

orestesparra commented 4 years ago

Hi, I need support of how insert a new Node in the IChart throw click event or touch event. I understand that the Drag and Drop event is the actual solution, but i have a case when my website is in mobile mode where drag and drop doesnt works.

I will a appreciate any feedback of how to archive my goal in this.

Best Regards

orestesparra commented 4 years ago

Hi, @MrBlenny . I trying to use your library in mobile mode. So, I trying to add touch event to manage link conection between ports, but I cant capture the html element inside the event when "touchend" happened. Only appear the html where started the touch event. This is in Port.wrapper.tsx Do you have any comment regarding of this?

Best Regards

MrBlenny commented 4 years ago

I haven't really been testing it on mobile. Happy to accept any PRs if you find a fix.