-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Works intermittently on Firefox #1267
Comments
@RubaXa can you confirm if this will be fixed or not? We really love this library, but we cannot alienate Firefox users. |
same issue |
same |
same here |
I'm experiencing the same issue; however, reloading the page does not fix it for me. On subsequent reloads the dragging functionality will be broken, until I close the tab and open the page up in a new one. Firefox 59.0b5 (64-bit) |
Same issue here, in fact not working at all in firefox, Works in Chrome, IE11 and Edge. Using VueDraggable. |
Same issue. Does not Drag and Drop with Firefox. Anyone have a fix? |
I have tried to reproduce this issue on FF |
I am having issues on Firefox |
Same issue for me on Firefox 58 and also 59 beta version. Thankfully the fallback method does work so this is my workraound for now var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
new Sortable(el, {
forceFallback: isFirefox
}) |
Not sure if this is related, but for me it works reliably on FF If I enable touch simulation in responsive design mode, or exit the mode, then it starts working again. |
It seems like this has been resolved in Firefox 61. |
Mmm I don't see it as resolved with FF 65 and latest Sortable 1.8.3. Any tips on workarounds with Sortable? |
Hi, Code example: this.sortablejsOptions = {
onEnd: (event: any) => {
this.onDragEnd(event);
},
setData: (dataTransfer: DataTransfer, draggedElement: HTMLElement) => {
dataTransfer.setData('foo', 'bar'); // required by Firefox in order to DnD work: https://stackoverflow.com/a/19055350/1411105
}
}; |
Not sure if anyone is still having this issue, but I've found a solution that works for me. Before, this worked fine in Safari and Chrome, but was very intermittent on FF 104.
In our personal case, we use FontAwesome 4 icons (we have too large of a code base to migrate to 5) for our sort handles. Something like the following markup: <i class="fa fa-sort" rel="sort_handle"></i> and with sortable (CoffeeScript - again, old, very large app, too much to migrate away from): new Sortable target,
# other stuff
handle: '[role="sort_handle"]'
# more other stuff Our markup for our FA icons includes some padding on the right side since most of our icons are injected inline with text to create the proper padding. If I clicked on the FA icon itself, the So it seems the culprit is FF and how it manages the stacking context of @-moz-document url-prefix() {
.fa[role=sort_handle]::before {
pointer-events: none;
}
}
The sort handle works reliably now. |
Firefox: 57.0.4
sortablejs: 1.7.0
Issue: Using Firefox, dragging of any kind will intermittently stop working between reloads.
To replicate:
Other: So far, it works flawlessly on Chrome.
Edit: Video of this behavior: https://gfycat.com/LightheartedTotalKodiakbear
The text was updated successfully, but these errors were encountered: