Safari Browser: Drag Preview Element not visible, causes confusion while dragging.
See original GitHub issueProblem:
In Safari browser when an element is dragged, the drag preview is not displayed. It works fine in all other browsers i.e. Chrome, Firefox, Opera, Edge, IE11. Problem is only with Safari browser.
Safari version 12.1.2 on Mac Mojave 10.14.6
JSBin/JSFiddle demonstrating the problem:
Providing a Video Demo since the application is not yet deployed. The video shows a comparison of the experience in Chrome vs Safari.
I am using the latest 1.10.1 version of Sortable.js
I have already tried various options like dataTransfer.setDragImage
but none of the solutions work.
Request yout to please provide some insights as to what might be going wrong / Is this something that needs to be fixed in the library ?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
html div dragging visibility not able on safari browser
The issue was caused by not using Drag effect attribute for drag ... had few attributes that makes the dragged HTML element go...
Read more >Safari Technology Preview Release Notes - Apple Developer
Safari Technology Preview Release 147 is now available for download for macOS Monterey 12.3 or later and macOS Ventura beta. Updates to Safari...
Read more >The HTML5 drag and drop disaster - QuirksBlog - QuirksMode
The drop event fires when the user drops an element he's dragging. And, you see, dropping the element you're dragging is the POINT...
Read more >Cross Browser HTML5 Drag and Drop - User Agent Man
Built-in Browser Support: HTML5 Drag and Drop is supported in Firefox ... the mouse pointer when the object is being dragged, while Safari...
Read more >HTML Drag and Drop—What a Drag - Cay Horstmann
But that might be embarrassing when the element is dragged into another app. ... It took Safari on iOS ages to support HTML...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Unfortunately, in my case on Chrome & Safari, the drag-n-drop is completely broken (on both browsers) when I use the
forceFallback: true
option.One thing to note here is that the elements under drag-n-drop are placed in an iframe in a
display:flex
layout. Does that make any difference in Safari ?@kcak11 I tried the forceFallback option, it worked, no problem