Issue on drop with last version 2012.1.515

4 posts, 0 answers
  1. Annie Vincent
    Annie Vincent avatar
    2 posts
    Member since:
    Feb 2008

    Posted 31 May 2012 Link to this post

    When using Drag & drop control with version 2012.1.515, if the cursor is positioned over the "hint", it seems that the draggable object is trying to drop over the "hint" instead of the div with the "data-role=droptarget" attribute.  This feature crashes our web site.

    But, if the cursor is next to the "hint" (ex : cursorOffset: {top:10, left:10}), everything works as expected.  We do this patch now.  If we remove the cursorOffset, the web site crashes.

    My question is : why the draggable object is trying to make a drop over the "hint" when it is below the cursor ?

    We reproduce on the last version on IE and FireFox.

  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 01 Jun 2012 Link to this post

    Hello,

    I tried reproducing this problem on our online demo, to no avail. Is it possible for you to create a jsFiddle with the code you are using, so that we can see what happens?

    Regards,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Joshua
    Joshua avatar
    5 posts
    Member since:
    Jul 2012

    Posted 03 Jul 2012 Link to this post

    Hey Guys,
    I hit a similar issue recently.  I created a quick JS Fiddle showing the issue. When you drag from the list on the left, the hint is the object sent to the dragEnter method as the arg.target rather than the actual drop target div.  When you drag from the list on the right, where I have set the cursor offsets, everything works as expected.
    http://jsfiddle.net/MZxQu/36/

    Hope this helps!
    Joshua Holt
  5. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 06 Jul 2012 Link to this post

    Hi Joshua,

    Thank you for the provided example.
    I can confirm that there is an issue, however we will need more time to investigate the case. I will forward the case to the developer team for further consideration and will get back to you as soon as we have more information.

    Kind regards,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready