diff --git a/src/workbench/browser/src/app/pages/api/api.component.ts b/src/workbench/browser/src/app/pages/api/api.component.ts index 159f226e3..9cb02fe7e 100644 --- a/src/workbench/browser/src/app/pages/api/api.component.ts +++ b/src/workbench/browser/src/app/pages/api/api.component.ts @@ -144,11 +144,13 @@ export class ApiComponent implements OnInit, OnDestroy { onSideResize({ width }: NzResizeEvent): void { this.isDragging = true; - cancelAnimationFrame(this.animateId); - this.animateId = requestAnimationFrame(() => { - this.siderWidth = width; + // cancelAnimationFrame(this.animateId); + // this.animateId = requestAnimationFrame(() => { + this.siderWidth = width; + requestAnimationFrame(() => { localStorage.setItem(LEFT_SIDER_WIDTH_KEY, String(width)); }); + // }); } onResizeEnd() { diff --git a/src/workbench/browser/src/app/pages/extension/detail/extension-detail.component.html b/src/workbench/browser/src/app/pages/extension/detail/extension-detail.component.html index 3537bc72e..4d81b9369 100644 --- a/src/workbench/browser/src/app/pages/extension/detail/extension-detail.component.html +++ b/src/workbench/browser/src/app/pages/extension/detail/extension-detail.component.html @@ -33,32 +33,15 @@