0

I'm using Persona component and sometimes it takes time for the image to load. Is it possible to show the user initials until the image loads? This exact behavior is in place in OWA.

dagoltz
  • 62
  • 7
  • Could you include the code you have written so far? – Tholle Jul 15 '18 at 18:51
  • @Tholle this isn't really about my code but about the library itself. Here's an example of Persona usage: https://codepen.io/dzearing/pen/XqVwrZ – dagoltz Jul 15 '18 at 18:57

2 Answers2

0

This is not currently possible using office-ui-fabric-react. Opened a feature request: https://github.com/OfficeDev/office-ui-fabric-react/issues/5601

dagoltz
  • 62
  • 7
0

This is now possible via this PR https://github.com/OfficeDev/office-ui-fabric-react/pull/5618

Use showInitialsUntilImageLoads=true to show initials until the image loads.

Micah Godbolt
  • 224
  • 1
  • 2