IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics

Home Page:https://bit.ly/2kuu1fT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

igTree nodeDropped - incorrect data property for ui.draggable

jackofdiamond5 opened this issue · comments

Description

The data property of ui.draggable is incorrect because nodeDropped receives information about the node that was being dragged, which gets removed after being dropped. Thus, it tries to access the node that is now in the place of the previously dragged node. This does not occur with nodeDropping.

Steps to reproduce

  1. Open the JSFiddle
  2. Open the developer tools
  3. Try dragging Puff and place it after Fluff

Result

Fluff is logged.

Expected result

Puff is logged.

Attachments

fluff