-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
PR #28289 improved the loading state of the ServerSideRender component to minimize jumps, and to ensure the spinner is shown in the same way as it is in other transient states, such as when uploading an image or a video. Here's what it used to look like:
Here's what it looks like now:
However this transient state can still be intrusive when you're just making small tweaks that are likely to finish in less than a second. When an operation is that fast, arguably there's no need to show a spinner at all. So we should consider enhancing the loading state with a delay: only enter the transient state after a second of time has passed and the operation hasn't completed yet.
That way, in most cases interacting with an SSR block won't feel much different from interacting with any other block. But there's still the safety net of a transient state, should the operation hiccup and take a while.