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

Cannot load spfx web part property panel right away

Open OverkillTV opened this issue 6 years ago • 3 comments

Category

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

Question

I cannot edit any custom SPFX web parts properties right away when they are added to pages.

Basically, every time I edit the page or even in workbench I have to wait around 25s to be able to edit the web part properties.

And by "to be able to edit" I mean that no matter how many times I click on the "Edit" icon of the web part it won't show the property panel, no errors or whatsoever on the console as well.

But if I just wait for 25s then the edit button works just fine, one click to show the property panel, click again to hide it.

Environment details (development & target environment)

  • Your Developer Environment: Windows 10
  • Target Environment: SharePoint Online
  • Framework: Node.js v12
  • Browser(s): Chrome 84
  • Tooling: VS Code

OverkillTV avatar Aug 05 '20 16:08 OverkillTV

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Aug 05 '20 16:08 msft-github-bot

I'll close this since I found the issue: my spfx web parts are async render so yeah even if there are no calls made it still takes time to load the property panel. I changed it to normal render then it's working fine now.

OverkillTV avatar Aug 07 '20 08:08 OverkillTV

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 Aug 14 '20 12:08 msft-github-bot