Cannot load spfx web part property panel right away
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
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
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.
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