Closed Zander1983 closed 2 years ago
Hi @Zander1983, thank you for the comment.
Sorry, my English is poor.
Do you mean that the draggable element doesn't work correctly after the size of the element was changed?
If so, you have to call position
method.
[bot] No reply came, then this abandoned issue is closed.
Sorry for my late reply - you were correct, that fixed it.
:smile:
I have an app to allow users to draw polygons on scatter plots and create a tree of plots. e.g.
The problem I have is when a user creates 4 or more plots, they get stacked on top of each other as there is no room, and so I need to allow the user to increase the size of the container by dragging. Heres the problem:
Heres the HTML:
When I move the mouse over
dragger-container
the height ofworkspace-container
is indeed dynamically increased. However I still cannot drag the Draggables down. It seems they dont know the height of theworkspace-container
has increased.It may be something to do with the containment option here https://anseki.github.io/plain-draggable/#options-containment. But Im not sure....