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;
|
opacity: 0;
|
||||||
display: none;
|
display: none;
|
||||||
width: max-content;
|
width: max-content;
|
||||||
|
touch-action: none;
|
||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
z-index: var(--affine-z-index-popover);
|
z-index: var(--affine-z-index-popover);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user