From cc2d97e3b8c168601f540906d5ba40324512c5cc Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Mon, 26 Feb 2024 03:43:37 +0000 Subject: [PATCH] fix: right sidepanel open on focus (#5901) fix TOV-614 Should not show sidepanel on focusing inner elemenets --- .../component/src/components/resize-panel/resize-panel.css.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/frontend/component/src/components/resize-panel/resize-panel.css.ts b/packages/frontend/component/src/components/resize-panel/resize-panel.css.ts index 38adb2e0c..bc3198c1a 100644 --- a/packages/frontend/component/src/components/resize-panel/resize-panel.css.ts +++ b/packages/frontend/component/src/components/resize-panel/resize-panel.css.ts @@ -35,8 +35,12 @@ export const root = style({ '&[data-is-floating="false"][data-transparent=true]': { backgroundColor: 'transparent', }, + '&[data-enable-animation="false"][data-open="false"]': { + display: 'none', + }, }, }); + export const panelContent = style({ position: 'relative', height: '100%',