Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd0f3c8

Browse files
committed
fix: TheonResize callback is no longer incorrectly called with the same values.
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.
1 parentaa38199 commitbd0f3c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,4 +275,3 @@ The same technique can also be used to provide any of your preferred ResizeObser
275275
##License
276276

277277
MIT
278-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp