I had same problem with #22 .
resetInitialPos
Returns to the initial position of the element, before it is mounted.
I only need to initialize the position at the beginning.
And I thought it only works at the beginning until I update my component...
May you add a reminder to the document ?
It should make it unnecessary to waste time debugging code