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
In order to make nested css rules work while dragging, I use the drag/drop containers as mirror containers. That works fine, except for the dropIndex being off due to the fact that the mirror is still inside the target container when dropping the transit element. Possible fix:
functiondomIndexOf(child,parent){/* If the mirror container is the target container itself, the mirror is still inside the target when dropping the transit element. Thats why we have to make sure to ignore the mirror element here. */varchildren=angular.element(parent).children().not('.gu-mirror');returnArray.prototype.indexOf.call(children,child);}
Thank you for this great plugin by the way!
The text was updated successfully, but these errors were encountered:
Okay fair enough, it also leads to some other problems as I just noticed. Is there another way to keep nested css selectors working?
thanks for the quick response by the way
In order to make nested css rules work while dragging, I use the drag/drop containers as mirror containers. That works fine, except for the dropIndex being off due to the fact that the mirror is still inside the target container when dropping the transit element. Possible fix:
Thank you for this great plugin by the way!
The text was updated successfully, but these errors were encountered: