Skip to content

Why does a reSlice occur on every 'change' event? #9

@bryanspears

Description

@bryanspears

Shouldn't it only reSlice/reset on sort/add/remove?

If you have a paginated collection rendered as a collection, the view is re-rendered every change. This causes a large number of visual issues if there's any animations, hover/focus effects, etc.

Example: I have a row, clicking the row selects (boolean that triggers bindings in the view) the row. However, the hover effect flickers on every selection because the entire table (collection) is being re-rendered by the paginated collection emitting a reset.

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