You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See that only the ShellBar outside React (index.html) is rendered, not the one rendered by React (App.tsx)
Log Output, Stack Trace or Screenshots
Uncaught (in promise) TypeError: Converting circular structure to JSON
--> starting at object with constructor 'HTMLSpanElement'| property '__reactFiber$nye74rzwow' -> object with constructor 'FiberNode'
--- property 'stateNode' closes the circle
at JSON.stringify (<anonymous>)
at ShellBar2._observeAdditionalContextItems (@ui5_webcomponents-fiori_dist_ShellBar__js.js?v=58ce7247:11372:14)
at ShellBar2.onBeforeRendering (@ui5_webcomponents-fiori_dist_ShellBar__js.js?v=58ce7247:10990:10)
at ShellBar2._render (@ui5_webcomponents-fiori_dist_ShellBar__js.js?v=58ce7247:1182:12)
at renderImmediately (chunk-VV7D5TFM.js?v=fd476140:380:16)
at ShellBar2.connectedCallback (@ui5_webcomponents-fiori_dist_ShellBar__js.js?v=58ce7247:766:5)
Priority
None
UI5 Web Components Version
2.7.3
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
UI5WCR
Declaration
I’m not disclosing any internal or sensitive information.
The text was updated successfully, but these errors were encountered:
After investigating, I discovered that React attaches information to DOM nodes, some of which may be circular (facebook/react#24360). To address this, we likely need to modify the cache mechanism for observed elements—for example, by using a WeakSet inside the class instead of storing DOM references and stringifying them, as they might be manipulated in different ways depending on environment.
Bug Description
If the experimental
content
slot of theShellBar
component is used inside a React application, the component breaks.Affected Component
ShellBar
Expected Behaviour
No response
Isolated Example
https://stackblitz.com/edit/github-k6n4x8jy?file=src%2FApp.tsx,index.html
Steps to Reproduce
ShellBar
outside React (index.html
) is rendered, not the one rendered by React (App.tsx
)Log Output, Stack Trace or Screenshots
Priority
None
UI5 Web Components Version
2.7.3
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
UI5WCR
Declaration
The text was updated successfully, but these errors were encountered: