Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Use Resize Observer API for ScrollBar #44

Open
kyoshino opened this issue May 28, 2016 · 1 comment
Open

Use Resize Observer API for ScrollBar #44

kyoshino opened this issue May 28, 2016 · 1 comment

Comments

@kyoshino
Copy link
Member

kyoshino commented May 28, 2016

We have removed the non-standard MozScrolledAreaChanged event in #39 to make the ScrollBar widget e10s-friendly. The current implementation using requestAnimationFrame is much better, but it eats memory. The Resize Observer API, that will be implemented in Firefox soon, is the final answer for this.

@kyoshino
Copy link
Member Author

We perhaps don't need the new API. See CSS deep-dive: matrix3d() for a frame-perfect custom scrollbar for an interesting approach.

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

No branches or pull requests

1 participant