-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
Description
Currently, Neo.draggable.container.SortZone uses the same intersection logic (or similar 50% ratios) for both in-app item sorting (swapping items) and window detachment/re-integration. This limits UX tuning, as users often expect a "tear-off" into a new window to happen sooner (e.g., at 20% overlap) than an item swap.
Goal:
- Decouple the window detachment/re-integration thresholds from the standard sorting thresholds.
- Introduce specific configs (e.g.,
detachThreshold: 0.2,reattachThreshold: 0.8). - Ensure
onDragMovelogic uses the correct threshold for the correct action (sorting vs. window boundary checks).
Reactions are currently unavailable