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

Resize modifier - wrong types

Open bran0h opened this issue 2 years ago • 0 comments

If you have questions about the API that aren't answered in the docs or FAQ, try asking in the Gitter chatroom or on Stackoverflow.

If you've found something that looks like a bug, include a link to a minimal demo on JSFilddle, Codepen with instructions to reproduce the bug with and roughly follow the following issue description format:

Expected behavior

In interact.modifiers.restrictSize RestrictSizeOptions properties min and max should also take Size type where I do not need to specify one of the properties, because I don't want to restrict them.

Actual behavior

Can't set this to null or undefined image

System configuration

interact.js version: 1.10.26 Browser name and version: Chrome Version 120.0.6099.71 (Official Build) (64-bit) Operating System: Windows 11

bran0h avatar Dec 19 '23 11:12 bran0h