-
Environment
Issue Summarythe call of getSize() function will cause forced reflow. Current Behavior |
Beta Was this translation helpful? Give feedback.
Answered by
idiotWu
Nov 13, 2019
Replies: 2 comments
-
@idiotWu There is another way to get Size, please consider use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
idiotWu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
getBoundingClientRect
definitely forces layout/reflow too: https://gist.github.com/paulirish/5d52fb081b3570c81e3a