Closed ZaDarkSide closed 1 year ago
You should be able to assign CSS selectors for corner edges.
Cannot assign CSS selectors for corner edges.
interact(el).resizable({ edges: { top: '.top', left: '.left', right: '.right', bottom: '.bottom' }, // <= here you cannot set corners (diagonals) for resizing })
interact.js version: 1.10.17 Browser name and version: Edge 103, Chrome 103 Operating System: Windows 10
If an element matches selectors for two edges that meet at a corner, then it will resize both edges.
<div class="top right">↗</div>
Expected behavior
You should be able to assign CSS selectors for corner edges.
Actual behavior
Cannot assign CSS selectors for corner edges.
System configuration
interact.js version: 1.10.17 Browser name and version: Edge 103, Chrome 103 Operating System: Windows 10