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(editor): disable touch events on toolbar (#11447)

fundone3343475921a
diff --git a/blocksuite/affine/widgets/widget-toolbar/src/toolbar.ts b/blocksuite/affine/widgets/widget-toolbar/src/toolbar.ts
index c8e8a73ee5..d54c2f96c9 100644
--- a/blocksuite/affine/widgets/widget-toolbar/src/toolbar.ts
+++ b/blocksuite/affine/widgets/widget-toolbar/src/toolbar.ts
@@ -57,6 +57,7 @@ export class AffineToolbarWidget extends WidgetComponent {
opacity: 0;
display: none;
width: max-content;
+ touch-action: none;
backface-visibility: hidden;
z-index: var(--affine-z-index-popover);