Skip to content

avoid force layout/reflow in moveBar#63

Open
hengwoon wants to merge 1 commit intobuzinas:masterfrom
hengwoon:fix-layout-performance
Open

avoid force layout/reflow in moveBar#63
hengwoon wants to merge 1 commit intobuzinas:masterfrom
hengwoon:fix-layout-performance

Conversation

@hengwoon
Copy link

move calculation of scrollRatio inside of requestAnimationFrame to avoid triggering layout/reflows on each scroll event.

move calculation of scrollRatio inside of requestAnimationFrame to avoid triggering layout/reflows on scroll.
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

Successfully merging this pull request may close these issues.

1 participant