From ded13a17f157027af8409f2941ee943da89ebe3d Mon Sep 17 00:00:00 2001 From: Ivan Raznatovskyi Date: Thu, 31 Aug 2023 16:08:51 +0300 Subject: [PATCH] UI: Fixed widget shacking --- .../modules/home/components/dashboard/dashboard.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.ts b/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.ts index 6662a05631..03ea5b1064 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.ts @@ -317,7 +317,7 @@ export class DashboardComponent extends PageComponent implements IDashboardCompo this.gridsterResize$ = new ResizeObserver(() => { this.onGridsterParentResize(); }); - this.gridsterResize$.observe(this.gridster.el); + this.gridsterResize$.observe(this.gridster.el.parentElement); } onUpdateTimewindow(startTimeMs: number, endTimeMs: number, interval?: number, persist?: boolean): void {