Skip to content

Jumps while scrolling to top in Ionic project #163

Closed
@misterdev

Description

@misterdev

I'm developing a chat app using Ionic 1.3.1, the same code works perfectly on desktop browsers but has problems on real devices (android 6.0.1/ios 10.3.2), that's why I think this is a ui-scroll bug.

No matter which values I use for buffer-size and padding, when I reach the top element in the buffer (eg. index -40) it loads buffer_size elements and jumps to the new top element (e.g. index -60) then loads other buffer_size elements correctly.

Also, when I set the same height to every element, works fine on ios, but this is not a possible solution since every message may have different heights.

I don't have enough time to provide a repro, can you please give some tips on what I can look at to try to solve this?

PS: Thanks for developing this, switching from ng-repeat to ui-scroll has improved performance hugely!

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