This is incredibly fun software to work with. I'm fairly new to JavaScript and your docs and samples have been fantastic.
In the Codepen I have a series of rectangles drawn on a canvas. When you drag or throw the canvas the expected rectangle index is shown below the canvas container. In the onThrowComplete handler I set up ThrowPropsPlugin.to so that one of the rectangles stops at the center of the screen.
During onThrowUpdate and onThrowComplete I update the expected rectangle index but sometimes the value is off. This can usually be observed by slowly dragging the canvas to the right so that a rectangle almost snaps to the center of the screen. The position is also updated when onClick occurs so then the correct index is observed.
Am I not using the code correctly or is there an event I can use that fires when the canvas finally snaps into position?