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

Bug with restrictRect and resizable

Open tups opened this issue 3 years ago • 3 comments

Fix issue : #946

tups avatar Dec 22 '21 13:12 tups

Thanks for the PR. Can you add a test case for this fix?

taye avatar Apr 07 '22 13:04 taye

If the child element is as large as the parent, we can no longer resize it, and some other cases depending on its position

Here is an example configuration that does not work without PR. Just try to resize the image CodePen : https://codepen.io/tups/pen/vYeeOav

tups avatar Apr 08 '22 16:04 tups

@tups by "test case" he meant a spec file, something like https://github.com/taye/interact.js/blob/main/packages/%40interactjs/offset/offset.spec.ts

andreasvirkus avatar Oct 13 '22 10:10 andreasvirkus