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

@PixelsCommander PixelsCommander commented Apr 3, 2015

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

@saniyusuf
Copy link

@saniyusuf saniyusuf commented Jun 10, 2015

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

@PixelsCommander PixelsCommander commented Jun 10, 2015

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

@PixelsCommander PixelsCommander commented Sep 4, 2016

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.