[p-tree] dragdrop | Can the dragging be restricted to the self and also enforce dragging along an axis? #1931
Unanswered
kdashivantha
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v17.16.1
https://primeng.org/tree#dragdrop
use-case:
Having several p-tree views. but each of them has its own item-ordering via dragdrop.
works fine. but the UX perspective it would be nice to;
[1] Restrict being able to drag outside p-tree boundary
ng-cdk reference:
https://material.angular.io/cdk/drag-drop/overview#restricting-movement-within-an-element
[2] Restrict the dragging along an axis
ng-cdk reference:
https://material.angular.io/cdk/drag-drop/overview#restricting-movement-along-an-axis
Is there any workaround to achieve this requirements in v17
Many thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions