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
The example uses <header> element, but the only way I was able to make this work is using div as the handle. I tried using a class name .dragitem does not work. I tried using $('.dragitem') same result. Doesn't seem to understand what an element is unless its the element tag itself.
This isn't in the API documentation either, its only in the example.
The text was updated successfully, but these errors were encountered:
It looks like it was due to z-index within the element itself. increasing the index allowed the div to be above all other elements in the drag item. Assuming this is only looking at the first element in for click and not its parent elements, which is why its an issue, but luckily I can get around that for now.
Setting a handle doesn't really work at all.
http://dsmorse.github.io/gridster.js/demos/custom-drag-handle.html
The example uses
<header>
element, but the only way I was able to make this work is usingdiv
as the handle. I tried using a class name.dragitem
does not work. I tried using$('.dragitem')
same result. Doesn't seem to understand what an element is unless its the element tag itself.This isn't in the API documentation either, its only in the example.
The text was updated successfully, but these errors were encountered: