I'm not sure if the issue title above is 100% correct, but I think it's the best way to describe my issue. See [this code sandbox](https://codesandbox.io/s/zen-jepsen-tu8yd?file=/src/App.js) and notice that the `rightX` variable doesn't update properly when the div's `min-width` is met (and the bottom scroller appears):  It only updates to the correct position after the div is scrolled. On the other hand, the wrapper div position is correct *until* the div is scrolled. `useMeasure` should report the correct position of the child div (the one with the scrollbar) when the parent moves.