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.