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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: cancel kanban mouse down event
lawvsff468baf4959
diff --git a/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardContainer.tsx b/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardContainer.tsxindex cd71b72666..5151aaec99 100644--- a/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardContainer.tsx+++ b/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardContainer.tsx@@ -156,7 +156,13 @@ export const CardContainer = (props: CardContainerProps) => {const { kanban } = useKanban();const { containerIds, items: dataSource, activeId } = props;return (- <KanbanContainer>+ <KanbanContainer+ onMouseDown={e => {+ // Fix https://github.com/toeverything/AFFiNE/issues/29+ // Prevent active selection when dragging kanban card+ e.stopPropagation();+ }}+ >{containerIds.map((containerId, idx) => {const items = dataSource[containerId];