Skip to content

dropped node gets expanded even if it was collapsed when dragged #106

Closed
@jrencz

Description

@jrencz

Steps to reproduce the issue (http://jimliu.github.io/angular-ui-tree/ as a reference):

  1. Collapse a node with children - let's say "2. moiré-vision",
  2. Drag it - it is dragged as collapsed.
  3. Drop it (position may or may not change) - it gets expanded

Dragged element gets new scope ID. In fact the new element gets created but only its $modelValue is the same. Other node properties (like collapsed flag) may be transferred to the new node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions