Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
- browser version 148.0.7778.217
- SPFx version 1.22.x & 1.23
- Node.js version 22.14.0
-Fluent UI 9 - Tested with 9.56.6 - 9.66.6, 9.74.1
Describe the bug / error
When the web part is loaded from localhost, the following exception is thrown in the browser console:
TypeError: Cannot read properties of undefined (reading 'set')
Stack trace:
TypeError: Cannot read properties of undefined (reading 'set')
at getModalizer (https://localhost:4321/dist/promotion-portal-web-part.js:96165:34)
at initTabsterModules (https://localhost:4321/dist/promotion-portal-web-part.js:34449:58)
at https://localhost:4321/dist/promotion-portal-web-part.js:34673:40
at https://res-1.public.onecdn.static.microsoft/files/sp-client/sp-pages-assembly_en-us_*.js
The stack trace consistently points to Tabster initialization (getModalizer / initTabsterModules).
Steps to reproduce
- Create an SPFx web part using SPFx 1.22.2 or 1.23.
- Install Fluent UI React v9 (@fluentui/react-components).
- Use Fluent UI v9 controls within the web part.
- Run the solution using: npm run start
- Open the SharePoint page that hosts the web part.
Additional Information
- Reproduced in SPFx 1.22.2 and 1.23.
- Reproduced with multiple Fluent UI React v9 versions.
- Only observed when running from localhost in debug mode.
- The issue appears related to Tabster initialization which was previously working fine.
Expected behavior
Fluent UI React v9 components should work without throwing getModalizer / initTabsterModules errors, even when running in local debug mode
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
-Fluent UI 9 - Tested with 9.56.6 - 9.66.6, 9.74.1
Describe the bug / error
When the web part is loaded from localhost, the following exception is thrown in the browser console:
TypeError: Cannot read properties of undefined (reading 'set')
Stack trace:
The stack trace consistently points to Tabster initialization (getModalizer / initTabsterModules).
Steps to reproduce
Additional Information
Expected behavior
Fluent UI React v9 components should work without throwing
getModalizer / initTabsterModuleserrors, even when running in local debug mode