Closed connoratmyxt closed 2 years ago
Hey,
I will run some investigation on the issue, thanks for the report.
A fix was pushed for this: https://github.com/marcospont/agnostic-draggable/commit/2fba742a9f143cb283afd2d82ae82694e8b198ea
Codepen link: https://codepen.io/marcospont/pen/gOoKpqO
Hi, I found this bug while using your library. I don't know how to fix this one.
Steps to reproduce
Text won't deselect:
Selection can't be used:
Expected behavior
Text selection should stay normal when interacting with other elements when using the library.
Code
Investigation
mousedown
event on thehtml
element via devtools makes text selection normal againsortable.destroy()
after creating a Sortable doesn't fix the issue, so it's possible that an event listener also isn't properly removed