You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: The onResize callback is no longer incorrectly called with the same values.
The same memoisation applied to the hook response's width and height
should've applied to the onResize callback as well, but it didn't.
This is now fixed, which means that even if the RO reports a change,
the onResize callback will only be called if there's an actual change
to report after the rounding function was applied to the reported values.
0 commit comments