-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
I had a problem using the framework when all the elements were hidden,
So to fix the bug I've edited these function lines
function _getRect(el, container, adjustForTransform) {
if (el === null) { return; }
and
function _ghostIsLast(evt, axis, el) {
targetS2 = elRect === undefined ? 0 : axis === 'vertical' ? elRect.bottom : elRect.right,
targetS1Opp = elRect === undefined ? 0 : axis === 'vertical' ? elRect.left : elRect.top,
targetS2Opp = elRect === undefined ? 0 : axis === 'vertical' ? elRect.right : elRect.bottom,