From e7f0be94638cabe5082e6eb55da8cb1a62fa2515 Mon Sep 17 00:00:00 2001 From: zhangchi Date: Sun, 24 Jul 2022 00:18:46 +0800 Subject: [PATCH] feat(figma): can click --- .../editor-blocks/src/components/source-view/SourceView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/components/editor-blocks/src/components/source-view/SourceView.tsx b/libs/components/editor-blocks/src/components/source-view/SourceView.tsx index 47d06564f6..03ab18dab8 100644 --- a/libs/components/editor-blocks/src/components/source-view/SourceView.tsx +++ b/libs/components/editor-blocks/src/components/source-view/SourceView.tsx @@ -16,6 +16,9 @@ const MouseMaskContainer = styled('div')({ right: '0px', bottom: '0px', backgroundColor: 'transparent', + '&:hover': { + pointerEvents: 'none', + }, }); export interface Props { block: AsyncBlock;