소스 검색

:bug: 问答输入中文使用鼠标选词抽屉关闭

visuddhinanda 3 년 전
부모
커밋
7843824c8d
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      dashboard/src/components/comment/CommentBox.tsx

+ 1 - 2
dashboard/src/components/comment/CommentBox.tsx

@@ -46,9 +46,9 @@ const Widget = ({ trigger, resId, resType, onCommentCountChange }: IWidget) => {
       <Drawer
         title="Discussion"
         width={520}
-        closable={false}
         onClose={onClose}
         open={open}
+        maskClosable={false}
       >
         <CommentListCard
           resId={resId}
@@ -64,7 +64,6 @@ const Widget = ({ trigger, resId, resType, onCommentCountChange }: IWidget) => {
         <Drawer
           title="回答"
           width={480}
-          closable={false}
           onClose={onChildrenDrawerClose}
           open={childrenDrawer}
         >