mirror of
https://github.com/Shopify/draggable.git
synced 2025-12-08 20:15:56 +00:00
Don't hide source element if drag action is too fast
This commit is contained in:
parent
8eae84c07c
commit
aca0fbedd1
@ -228,6 +228,7 @@ export default class Draggable {
|
||||
const source = this.source;
|
||||
|
||||
setTimeout(() => {
|
||||
if (!this.dragging) { return; }
|
||||
source.style.display = 'none';
|
||||
}, 0);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user