sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

🐞 Loading indicator not showing in any in base DOMElement

Open andrewconnell opened this issue 9 years ago • 3 comments

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

All samples using the loading indicator show it being added to the this.DOMElement, then using a timeout to remove it within a web part's render() method.

Observed Behavior

The loading indicator isn't showing in the local or SPO hosted workbench.

The only way I was able to get it to appear was to add an element within the DOMElement, then put the loading indicator in that... similar to how this post does it.

It appears nothing is being added to the this.DOMElement when the loading indicator is added.

Steps to Reproduce

Look at this sample within your own training materials linked below. It should show the loading animation for 2s, then an error for 2s, then clear and show a web part. The first step (the loading animation) never renders.

https://github.com/OfficeDev/TrainingContent/tree/master/SharePoint/SharePointFramework/02%20Deep%20Dive%20of%20the%20SharePoint%20Framework/Demos/helloworld-webpart

andrewconnell avatar Jul 05 '17 19:07 andrewconnell

Thanks for your feedback; we're investigating this issue.

chackman avatar Jul 10 '17 16:07 chackman

The issue should be fixed and will be rolling out in an upcoming build. If it's not fixed within the next week, please open a new bug. Thanks!

chackman avatar Jul 25 '17 22:07 chackman

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 29 '20 06:01 msft-github-bot