Keep position when using pick, group and rank control
Hi there,
I am using the pick, group and rank control to drag an image into the group box. This works well, however once the user has dragged the image into the box it snaps to the top-left. Is there a way to override this functionality and leave the image where it was originally dragged to?
Cheers,
I am using the pick, group and rank control to drag an image into the group box. This works well, however once the user has dragged the image into the box it snaps to the top-left. Is there a way to override this functionality and leave the image where it was originally dragged to?
Cheers,
.ui-sortable-placeholder {
visibility: visible !important;
background: #ff0000;
}
When being dragged, the position of the item is set by the ‘left’ and ‘top’ properties with inline CSS. I’m not sure how to adjust those values and still have it be compatible with the placeholder so that the item registers as a response for the Group.
Leave a Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.