Open hengwoon opened 4 years ago
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 each scroll event.