matrix-react-sdk
03784e58
- replace getBoundingClientRect() with offset/scrollTop & clientHeight
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
6 years ago
replace getBoundingClientRect() with offset/scrollTop & clientHeight as they are an order of magnitude faster in most browsers, getBoundingClientRect() tends to cause relayout.
References
#2676 - Improved scrolling & pagination
Author
bwindels
Committer
bwindels
Parents
ecb07486
Loading