[Bug report]: Loading of SDDS with extensions turned on in chrome
Closed this issue · 1 comments
Requirements before reporting
- No duplicated issue reported.
- I have read the contribution guidelines.
- I have checked the lastest version if the bug exist there. See all avaliable packages at npmJS.com
- I have made sure that the issue comes from SDDS packages by removing SDDS from my project as a test.
- I have followed the installation guide.
Package
@scania/components, @scania/theme-light
Package versions
OLD Components 1.7.2, scania/theme-light v3.1.2
Browser
Chrome
Framework
React
Version
No response
Reproduction steps
When a user has a extension installed called Browser Redirection Extension the user gets an error in the javascript from SDDS package.
How to see the error
- Install extension
- Go to https://myscania.test.cs.scania.com/#/home
- Click login
- See the page is blank
it probably comes from the Flash of unstyled content(FOUC) solution
Code example
Screenshots
Screen.Recording.2023-04-21.at.09.53.56.mov
Expected behaviour
Make it possible to use this extension since it is from citrix it can be a bigger problem
Console errors
caught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
at https://mylogin.scania.com/auth/resources/mmch9/login/sss-ciam-theme/node_modules/@scania/components/dist/core.js:17:12
at https://mylogin.scania.com/auth/resources/mmch9/login/sss-ciam-theme/node_modules/@scania/components/dist/core.js:18:3
Contact information
I am currently not able to replicate this issue. Please reopen this issue if the problem persists.