microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

[mgt-person] render placeholder while loading/fetching data

Open nmetulev opened this issue 3 years ago • 2 comments

Description

The person component does not currently render anything while it is loading. Update the person component to always allocate the needed space when loaded.

Rationale

As the person object is loading, because the space is not allocated, the page moves around when the person component finally loads. When there are a lot of people objects on the page, this can cause the page content to move quite a bit.

Preferred Solution

Rendering a placeholder UI is a good way to handle this - the user will see something loading

nmetulev avatar Dec 02 '20 18:12 nmetulev