Skip to content

Scrolling is a bit janky sometimes #46

Open

Description

@PixelsCommander

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

Activity

  1. saniyusuf commented on Jun 10, 2015

    @saniyusuf

    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

  2. PixelsCommander commented on Jun 10, 2015

    @PixelsCommander
    OwnerAuthor

    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.

  3. PixelsCommander commented on Sep 4, 2016

    @PixelsCommander
    OwnerAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions