When we create a new measurement, the coordinates of the point are set inside the onMouseMotion function. If we move the mouse too fast, it creates a disconnect between the snap location and the measurement location.
Most likely, this is because we get called onMouseMotion but the snap request hasn't returned yet. We would need to perform one final update when that request completes. There might be an event somewhere we can listen to in order to fix this.
When we create a new measurement, the coordinates of the point are set inside the
onMouseMotion
function. If we move the mouse too fast, it creates a disconnect between the snap location and the measurement location. Most likely, this is because we get calledonMouseMotion
but the snap request hasn't returned yet. We would need to perform one final update when that request completes. There might be an event somewhere we can listen to in order to fix this.Please refer to the video below. https://github.com/iTwin/viewer-components-react/assets/3418768/dfff6ff7-1636-447a-ae90-9b1de99346eb