Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: right sidepanel open on focus (#5901)

Peng Xiaocc2d97e3b8c1
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 38adb2e0c9..bc3198c1ab 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%',