Description
Draggables are restricted to viewport boundaries when a container is set, even when the container exceeds the viewport.
Minimal reproduction demo of the bug
Anime.js Draggable on CodePen
Detailed steps to reproduce the issue
- In HTML, create two elements: A fixed element that exceeds the viewport on at least one side (the "Container") and a small element (the "Draggable").
- In JavaScript, run
createDraggable() setting the Draggable as the target and the Container as the container.
- Click and drag the Draggable outside of the viewport wherever the Container exceeds the viewport. The Draggable will be stopped by the viewport, even though the Container continues past the viewport.
Description
Draggables are restricted to viewport boundaries when a container is set, even when the container exceeds the viewport.
Minimal reproduction demo of the bug
Anime.js Draggable on CodePen
Detailed steps to reproduce the issue
createDraggable()setting the Draggable as the target and the Container as the container.