Results 1 to 5 of 5

Thread: [6.5.0] treeviewdragdrop: there is no drag slot after last node position

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,199

    Default [6.5.0] treeviewdragdrop: there is no drag slot after last node position

    Some strange issue when reordering nodes using the http://docs.sencha.com/extjs/6.5.0/c...wDragDrop.html plugin

    When having two parent tasks 'Task A' and 'Task B' with each a child, it is not possible to drag 'Task A' below 'Task B'. Task A will become child of B. However when you collapse 'Task B' it will reorder below B.

    To try out see this fiddle: https://fiddle.sencha.com/#view/editor&fiddle/28u3
    Just try to drag A below B without A becoming child of B. This is only possible when B is collapsed.

    But when you add a third parent node 'Task C' like in this fiddle: https://fiddle.sencha.com/#view/editor&fiddle/28ua
    it is possible (without collapsing B ) to reorder 'Task A' under 'Task B' without A become a child of B.

    I think this behaviour is not fully consistent. Could you look into this and try to free a drop spot for the case shown in the first fiddle?

  2. #2
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    126

    Default

    Thanksfor the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    It's not a bug. Think about it some.

  4. #4
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    126

    Default

    Hi,


    I was able to find a workaround for your issue by enabling the allowcontainerDrops to true.


    Fiddle : https://fiddle.sencha.com/#view/editor&fiddle/29am


    Please check the fiddle and let us know if this fixes your issue.

  5. #5
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    What if theere is no free space to drop into?

Similar Threads

  1. treeviewdragdrop: drop on root node only
    By Igor.Szyporyn in forum Ext: Q&A
    Replies: 1
    Last Post: 31 Mar 2014, 5:58 AM
  2. [OPEN] Ext.picker.Slot doesn't position to the right slot item
    By blackswanny in forum Sencha Touch 2.x: Bugs
    Replies: 2
    Last Post: 7 Sep 2012, 1:02 AM
  3. treeviewdragdrop disable root node drops
    By dwb in forum Ext: Q&A
    Replies: 2
    Last Post: 8 Mar 2012, 4:40 PM
  4. Drag and Drop between Accordion and ??Slot??
    By domluc in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 25 Jun 2007, 12:37 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •