Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecycleList 性能在移动端很差,向下滑动快了上面就有白屏出现 #767

Open
fantasy525 opened this issue May 6, 2021 · 3 comments
Assignees

Comments

@fantasy525
Copy link

RecycleList 性能在手机移动端很差,向下滑动快了上面就有白屏出现
另外在谷歌浏览器性能调试面板发现,滑动时候,js占用,加上渲染占用时间都二三十ms了,这帧率不会下降吗?考虑不用原生的滚动,而接入bs scroll吗?原生的滚动速度太快,移动端浏览器压根跟不上滑动速度

@dolymood
Copy link
Contributor

dolymood commented May 8, 2021

白屏并不是性能差的表现,而是浏览器原生为了应对这种情况 所做的性能优化

性能面板的话,是可以考虑根据实际情况进一步优化的

@fantasy525
Copy link
Author

@theniceangel 能否考虑使用better-scroll替换浏览器原生的滚动,白屏的主要原因是浏览器触发用户滚动事件出发太快,但是渲染跟不上,如果能使用better-scroll限制住滚动速度的话猜测会缓解这个问题

@dolymood
Copy link
Contributor

dolymood commented Nov 4, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants