Skip to content

start-index has unexpected behavior when combined with minIndex #180

Closed
@zacronos

Description

@zacronos

When using start-index to begin loading somewhere in the middle of the data, if datasource.minIndex has already been set programmatically, ui-scroll doesn't properly set viewport.scrollTop(), and so it just keeps prepending data until it gets to BOF.

My workaround for the moment is to use $timeout to delay setting datasource.minIndex -- if it gets set after the first prepend datasource.get, this behavior is avoided.

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