Open Ravikc opened 4 years ago
Can you please put this in a codesandbox or somehting similar so we can reproduce this during tests.
In Safari when you do the drag, it works as expected? So is the bug just the visual ghost element?
In Safari when you do the drag, it works as expected? So is the bug just the visual ghost element?
Yes, visual ghost element is the bug.
The ghost elements seem to no longer be present in Safari 15.5.
I'm still able to reproduce the issue in Safari 17.4.1.
I have the same problem. But there is an option called forceFallback
, and it helps me. I set it to true if it’s a Safari browser, like this:
forceFallback: navigator.userAgent.indexOf('Safari') > -1 && navigator.userAgent.indexOf('Chrome') <= -1
Problem with drag animation in safari when rows of a table are dragged
Bug video recording (in safari)
Expected behavior (in chrome - works in IE also)
Information This is a bootstrap-vue table
Sortable JS is used as a custom vue directive on the bootstrap-vue table. I've also tried applying sortable JS on component mount, behavior remains the same.
Additional context The problem seems to be only the animation UI. Drag and drop functionality works fine in Safari also.
All the columns of the bootstrap-vue table are custom vue components (implemented using the slot functionality).