Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1927

Drag delegate breaks when the drag node is clicked then destroyed

    Details

      Description

      Caused by AUI-1911 fix on YUI patched-v3.18.1 branch.

      1. Navigate to Sortable Layout demo (or Sortable List demo)
      2. Click a sortable element, but don't drag.
      3. Remove and destroy the node
            Y.one('#node').remove(true);
        
      4. Try to drag another element.

      Expected result:
      Sortable Layout still functions and no JS errors.

      Actual result:
      JS error occurs and elements cannot be dragged.

      Uncaught TypeError: Cannot read property 'className' of null

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 6 weeks, 5 days ago

                  Packages

                  Version Package
                  2.0.x
                  1.5.x
                  master
                  master-deprecated
                  2.0.0.58-deprecated
                  1.5.2.30
                  3.1.x