interact.js
interact.js copied to clipboard
snapEdges doesn't seem to snap at all
snapEdges modifier for resizable seems to be not working at all.
Codepen: https://codepen.io/mattleonowicz/pen/qBooQYG
Expected behavior
When reisizing the block it should snap to the grid of 40x40
Actual behavior
No snapping at all
System configuration
interact.js version: 1.10.17 Browser name and version: Chrome 104 Operating System: Mac OS
You need to set set a range: number in the grid or snapEdges options.
I should have made the default value Infinity