interact.js icon indicating copy to clipboard operation
interact.js copied to clipboard

Resizing cannot assign elements for corner edges, only top, left, right and bottom edges available

Open ZaDarkSide opened this issue 3 years ago • 0 comments

Expected behavior

You should be able to assign CSS selectors for corner edges.

Actual behavior

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
	})

System configuration

interact.js version: 1.10.17 Browser name and version: Edge 103, Chrome 103 Operating System: Windows 10

ZaDarkSide avatar Aug 08 '22 21:08 ZaDarkSide