Kendo UI move draggable on drop

2 posts, 0 answers
  1. Mani
    Mani avatar
    1 posts
    Member since:
    Mar 2016

    Posted 01 Mar 2016 Link to this post

    Hi there,

    I'm working in Rollbase using Kendo UI. I'm currently making a drag  drop with the Kendo UI Drag & Drop functionality. It works well, except I want the draggable element to stay visible when it gets dragged onto the dropTarget. I made that work using offset, but when I zoom the screen in or out, the dropTarget moves while the draggable stays untouched.

    Does anybody know a way in which I can make my draggable stick to the dropTarget?

    Here's some code:
                $(".dragTire").css({"border":"1px solid orange","border-radius":"10px"});
                return e.clone();
  2. Petyo
    Petyo avatar
    2444 posts

    Posted 03 Mar 2016 Link to this post


    the approach should work in general. You may also consider actually moving the DOM element of the draggable into the drop target one.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top