Skip to content

Conversation

@27pchrisl
Copy link
Contributor

When I was testing this fantastic library I found that desktop Safari would attempt to do unwated text selection during drag operations. This PR resolves that issue.

Untitled

@jerosoler
Copy link
Owner

Thanks for PR!

On linux I don't have an official access to safari.

I have done a test with the browser: https://wiki.gnome.org/Apps/Web which is based on webkit.

Does it also happen when dragging a node?

drawflow-safari.mp4

@27pchrisl
Copy link
Contributor Author

Yes, I had not noticed that was happening too. I have updated the PR so that if the code decided a node drag had started it will also preventDefault.

@jerosoler jerosoler merged commit 1ecd7a8 into jerosoler:master May 2, 2022
@jerosoler
Copy link
Owner

Thanks! 🎉
Fix in new version! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants