You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expanded TreeViewItem height includes child items also. So insert position should be calculated according to tree node itself but not whole tree item with sub nodes.
The text was updated successfully, but these errors were encountered:
Notice that wherever you hold item 0 over Root 1, you will always get the "insert" adorner, never the "add" adorner.
However, if you:
drag item 1 onto item 0, to add it.
expand item 0 (it should have one child)
drag item 2 over item 0.
Notice that in this case it is possible to get the "add" adorner.
When an expanded node has a small amount of children (seems like less than 3), it seems like it behaves roughly normally.
However, when it has a larger amount of children, it seems like the InsertPosition is never set to be RelativeInsertPosition.TargetItemCenter, and so we never get the add adorner, only the insert adorner. This could well be a result of the problem noted above.
Is a fix for this issue in the works, or would you appreciate a pull request?
Expanded TreeViewItem height includes child items also. So insert position should be calculated according to tree node itself but not whole tree item with sub nodes.
The text was updated successfully, but these errors were encountered: