-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dragging selects text on every second drag on Safari #16
Comments
This problem happens on iOS Safari too. Every second tap and drag selects text—just like @hphaavikko described—instead of dragging the item. Tested (and failed) on:
I tested it on Firefox Developer Edition 87.0b5. It works like a charm. Awesome library. Really hope Apple users get some love here. I mean, iPhones 📱 seem to be somewhat popular… 😉 |
Seems like |
This was fixed in SortableJS https://github.com/SortableJS/Sortable/releases/tag/1.13.0, but I have no idea why they haven't updated the package yet, this library still in v1.10 of SortableJS 😭, sent this PR to see if it gets approved PR |
It looks like this can be closed now, as |
Dragging selects text on every second drag on Safari (14.0.3). Same issue is reported on older vue Draggable versions as well SortableJS/Vue.Draggable#743 but the mentioned forceFallback option didn't work.
You can reproduce the issue by trying the live demo with Safari: https://sortablejs.github.io/vue.draggable.next/#/simple Drag once and it works, drag a second time and it selects text. Drag third time and it works, fourth time it selects text and so on.
It tried setting user-select: none to the item css (with all prefixes as well) but it doesn't help; then Safari just starts selecting text from the first selectable element before the draggable list.
The text was updated successfully, but these errors were encountered: