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

Scrolling is a bit janky sometimes #46

Open
PixelsCommander opened this issue Apr 3, 2015 · 3 comments
Open

Scrolling is a bit janky sometimes #46

PixelsCommander opened this issue Apr 3, 2015 · 3 comments

Comments

@PixelsCommander
Copy link
Owner

Scrolling is a bit janky sometimes, could be more smooth. May be interpolation? Should be investigated.

@saniyusuf
Copy link

I am keen to help out here but need to know where to begin. ANy pointers. I wana adopt it but want to make sure the scrolling

@PixelsCommander
Copy link
Owner Author

Cool

I ll try to show you a possible way to go for investigating and fixing this.

What we need first of all is to clearly understand why this happening. Is it a small frequency or just some in-library bug?

For investigating this it is nice to put some console.llog into src/gl-context.js onscroll listener and observe does it correlate with visual janks or not.

If the reason for having janks is low onscroll events frequency we may use smooth interpolation from scroll position A to scroll position B instead of switching immediately.

Do not hesitate to ask or ping me in skype lp_funky if needed.

@PixelsCommander
Copy link
Owner Author

Possible improvement there is to use touch events instead of scrolling events

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

2 participants