altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

StudioTableRemotePagination - maintain height when spinner is displayed

Open ErlingHauan opened this issue 8 months ago • 2 comments

Description

Table jumping when navigating between pages

When navigating between pages of the table, the height of the table container changes when the spinner appears/disappears. This only happens when the "page" in the table is not cached. Ideally only the content of the table should be hidden by the spinner, and the height should be unchanged so that the table doesn't "jump" up and down.

https://github.com/Altinn/altinn-studio/assets/1636323/523835cc-f64a-45df-90fe-f463dc1c70be

Add support for prefetching

Use Tanstack Query to prefetch the text page, so that we get fewer loaders

Remove the font-size CSS when using Studio Components?

ErlingHauan avatar Jun 27 '24 12:06 ErlingHauan