Fix bug where the instance of style and userdata where referenced to the first container added. The fix apply a structured clone to these objects.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4da161ff37
commit
c3e2eaf8a8
1 changed files with 2 additions and 2 deletions
|
@ -85,6 +85,6 @@ export const GetDefaultContainerProps = (
|
|||
XPositionReference: containerConfig.XPositionReference ?? XPositionReference.Left,
|
||||
minWidth: containerConfig.MinWidth ?? 0,
|
||||
customSVG: containerConfig.CustomSVG,
|
||||
style: containerConfig.Style,
|
||||
userData: containerConfig.UserData
|
||||
style: structuredClone(containerConfig.Style),
|
||||
userData: structuredClone(containerConfig.UserData)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue