Open StefanLerch opened 1 month ago
Thanks for reporting this.
I've tested a similar interaction in Excalidraw and Miro, and both of them allow to move the element past the viewport if one is fast enough.
The problem of extending the participant by far via this trick looks like a bug to me as well. I wouldn't deem it critical though.
Describe the Bug
Restricting the movement of an element inside the "RulesProvider" module can be bypassed by moving an element outside the viewport. With this, it is for example possible to stack pools on top of each other, see GIF.
Steps to Reproduce
Result: The pools can be stacked on top of each other.
Or:
Result: The element is moved to the position. Even though the pool increases its size afterward to contain the element, I would still argue that this is not intended behavior because moving the element beyond the border of the pool is otherwise restricted.
Expected Behavior
The current viewport should be considered when moving elements. Locally, I could fix this by preventing any movement beyond it. In the case provided above, I would expect, that I am unable to move the element beyond the viewport. The pool should only increase in size if I drop the element close to the edge of the pool, but not far beyond its borders.
Environment