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
But considering the element scoping, if there are several ui5 contexts in the current runtime, the toolbar constructor would be polluted. All the toolbar components would use the first registered constructor even they have element scope defined for different versions.
Affected Component
ui5-toolbar
Expected Behaviour
Using tag name with element scoping as the registry key.
Isolated Example
No response
Steps to Reproduce
N/A
Log Output, Stack Trace or Screenshots
No response
Priority
Medium
UI5 Web Components Version
2.3.0
Browser
Edge
Operating System
No response
Additional Context
No response
Organization
SF
Declaration
I’m not disclosing any internal or sensitive information.
The text was updated successfully, but these errors were encountered:
This issue is a solid blocker when leveraging new toolbar component in our upgrade work. As a workaround, right now we have to roll back to the legacy toolbar in ui5-react.
Bug Description
I noticed that there is a shared resource registry in the new
ui5-toolbar
component. But right now, the pure tag name is used as the registry key.ui5-webcomponents/packages/main/src/ToolbarRegistry.ts
Line 8 in 19475eb
But considering the element scoping, if there are several ui5 contexts in the current runtime, the toolbar constructor would be polluted. All the toolbar components would use the first registered constructor even they have element scope defined for different versions.
Affected Component
ui5-toolbar
Expected Behaviour
Using tag name with element scoping as the registry key.
Isolated Example
No response
Steps to Reproduce
N/A
Log Output, Stack Trace or Screenshots
No response
Priority
Medium
UI5 Web Components Version
2.3.0
Browser
Edge
Operating System
No response
Additional Context
No response
Organization
SF
Declaration
The text was updated successfully, but these errors were encountered: