mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 21:38:44 +08:00
fix(editor): disable touch events on toolbar (#11447)
Closes: [BS-3021](https://linear.app/affine-design/issue/BS-3021/在-toolbar-上禁止-touch-事件冒泡,触发白板缩放)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user