Closed typebrook closed 1 month ago
Hi @typebrook, thank you for the comment.
That case and #125 are completely unrelated. PlainDraggable has to reset style properties of the target element to recalculate the position and layout. That is, the style properties of the target element should not be changed intendedly after initialization. The simple and easy solution is wrapping your contents by another element. For example
BTW, this example uses ResizeObserver for capture resizing the target element.
the style properties of the target element should not be changed intendedly after initialization.
I see. Really grateful about your quick reply and detailed solution, you are awesome!
That case and #125 are completely unrelated.
My bad... it should be #124
😄
Related issue
#125#124Reproduce with Example:
@anseki Is there any way to keep inline style after recalculate for scroll event?