Option 1: Don't compute a height and width for dragged elements (would have effects on elements that inherit size from the positioning in the container, for example flexbox and grid elements)
Option 2: Account for padding+border in getting the size of the element (has to account for box-sizing)
Hi, I found this bug while using your library. I am willing to create a PR to fix this if you'd like.
Steps to reproduce
Expected behavior
Item should stay the same size before, during, and after dragging.
Code
Suggested solution(s)
Option 1: Don't compute a height and width for dragged elements (would have effects on elements that inherit size from the positioning in the container, for example flexbox and grid elements)
Option 2: Account for padding+border in getting the size of the element (has to account for box-sizing)