Skip to content

Prevent auto-rerender on sorting/changing page #200

@willgarrett64

Description

@willgarrett64

When using pagination to change page of a table, or changing the sorting of a table, it uses vue-router to change the query, which in turns re-renders the page.

This causes some undesired effects:

  • for a split second, the table renders as if there were no items, displaying "no stakes/transactions/etc"
    • in Stakes, this also changes the no. columns since when there are no stakes, it hides the "actions" column
  • page scrolling is returned to the top

The expected result is for the table content to update, but the overall page doesn't re-render.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions