You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix#1676
* simplified the code so cursor is what make items leave/enter (else we can get double shadow)
* no longer need `engine.isOutside()` (we use cursor leave event)
or `_isCursorOutside` (use `_temporaryRemoved`)
* we also always use 'dropover'/'dropout' to track when we enter/leave to be consistent between multi grids and single one that doesn't accept widgets
(instead of sing acceptWidgets flag)
node._temporaryRemoved=true;// so we can insert it
200
192
}
201
193
202
-
// we're entering this grid (even if we left another)
203
-
deletenode._isCursorOutside;
204
-
205
194
GridStackDD.get().on(el,'drag',onDrag);
206
195
// make sure this is called at least once when going fast #1578
207
196
onDrag(eventasDragEvent,el,helper);
@@ -477,7 +466,6 @@ GridStack.prototype._onStartMoving = function(el: GridItemHTMLElement, event: Ev
477
466
node._prevYPix=ui.position.top;
478
467
node._moving=(event.type==='dragstart');// 'dropover' are not initially moving so they can go exactly where they enter (will push stuff out of the way)
0 commit comments