mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-19 22:34:15 +00:00
## Summary (Not sure we need this, and I don't know the reason why we only have one cornor support previously, but it is requested by QA reporting in Notion) Add resize handles at all four corners (NW, NE, SW, SE) of Vue nodes, matching litegraph's multi-corner resize behavior. Vue nodes previously only supported resizing from the bottom-right (SE) corner. This adds handles at all four corners with direction-aware delta math, snap-to-grid support, and minimum size enforcement that keeps the opposite corner anchored. The content-driven minimum height is measured from the DOM at resize start to prevent the node from sliding when dragged past its minimum size. ## Screenshots (if applicable) https://github.com/user-attachments/assets/c9d30d93-8243-4c44-a417-5ca6e9978b3b