Thank you! and maybe make this default behavior

I have an interesting use case where I swap two divs to create an infinite scroll in the x and y axis. I have to swap them for memory purposes. I was going insane because during the swap, I move the scroll position to the new x-origin of the swapped divs…

long story short, when the “jump” to the swapped position happened, it would stop the smooth deceleration, jarring the user. Well, I thought, I’ll never figure out how to prevent that in the gigantic ionic source.

but i did! thanks to your nice comments, i found this:

// Stop deceleration
if (self.__isDecelerating) {
  self.__isDecelerating = false;

Perhaps this could be made an option in the next release!

scrollBy(x, y, animate, [[[resumeDeceleration]]]] )