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(core): resize-handle remains interactive when dragging split-view (#6217)

EYHNe4e4a54d9085
diff --git a/packages/frontend/core/src/modules/workbench/view/split-view/split-view.css.ts b/packages/frontend/core/src/modules/workbench/view/split-view/split-view.css.ts
index 5aff5907e5..873740c5bb 100644
--- a/packages/frontend/core/src/modules/workbench/view/split-view/split-view.css.ts
+++ b/packages/frontend/core/src/modules/workbench/view/split-view/split-view.css.ts
@@ -100,6 +100,9 @@ export const resizeHandle = style({
'[data-client-border="true"] &': {
right: `calc(-5px - ${gap} / 2)`,
},
+ [`.${splitViewPanel}[data-is-dragging="true"] &`]: {
+ display: 'none',
+ },
// horizontal
'[data-orientation="horizontal"] &::before, [data-orientation="horizontal"] &::after':