Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork43
Commitbd0f3c8
committed
fix: The
The same memoisation applied to the hook response's width and heightshould'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 changeto report after the rounding function was applied to the reported values.onResize callback is no longer incorrectly called with the same values.1 parentaa38199 commitbd0f3c8
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
0 commit comments
Comments
(0)