ICEfaces
  1. ICEfaces
  2. ICE-8985

ace:tree - subnodes unresponsive as dropzone after update

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.GA
    • Fix Version/s: 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      *

      Description

      Subnodes are not reinitialized as a sortable region after an update occurs. This was supposed to be handled by a dragenter listener (which reinits just-in-time), however dragenter is never called. It is not clear if this ever worked, as the JQ drag/drop doesn't generate DOM drag events.

      Because the JQ implementation of drag/drop is not native (DOM Level 3) browser events and the dragged element is always immediately under the cursor, the cursor never generates any mouse events on the region under the item being dragged, thus normal mouse events can't be used as an appropriate hook to reinit.

        Activity

        Hide
        Nils Lundquist added a comment -

        Revision #33394
        Committed by nils.lundquist
        Moments ago
        ICE-8985 - ace:tree subnodes render inner script tag to check & if needed, reinit sortability for siblings.

        Show
        Nils Lundquist added a comment - Revision #33394 Committed by nils.lundquist Moments ago ICE-8985 - ace:tree subnodes render inner script tag to check & if needed, reinit sortability for siblings.

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Nils Lundquist
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: