Safari does not load webpart using MSGraphClient
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
When adding a webpart that uses the MSGraphClient the webpart won't render in Safari on first load.
Steps to Reproduce
For this scenario we used this demo webpart: https://github.com/RobinBreman/SPFxDemo
- Open a modern page in safari.
- Add the webpart, publish and reload, the webpart won't run.
Strange behaviour
- Add another instance of the same webpart to the page, publish and reload
- Both webparts don't run.
- Refresh the page
- The second webpart runs !!
- Refresh the page
- Now both webparts run ??
Clearing cache, reproduces the scario above (fist no webpart loads, refresh, only one webpart loads, refresh, they both load).
The issue above does not occur when using Chrome on IOS, only Safari seems to have this issue
Observed Behavior
We see a lot of erros in safari on first loading the webpart page. Errors start decreasing on every refresh.

Any updates on this bug?
@RobinBreman @StefanWaalderbos Are you still seeing issues with this?
This is working for us now.
@lahuey as my colleague @MRuimerman just confirmed this is now working. This issue can be closed
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