From ec6d88f407541f5dd2cf20af390240da021fba7c Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 17 Aug 2018 19:13:42 +0800 Subject: [PATCH] Fix modal text being selected when open it with double click, close #11777 --- components/modal/style/modal.less | 1 + 1 file changed, 1 insertion(+) diff --git a/components/modal/style/modal.less b/components/modal/style/modal.less index c96c1bfe60..75b7c4b0bf 100644 --- a/components/modal/style/modal.less +++ b/components/modal/style/modal.less @@ -111,6 +111,7 @@ animation-duration: @animation-duration-slow; transform: none; // reset scale avoid mousePosition bug opacity: 0; + user-select: none; // https://github.com/ant-design/ant-design/issues/11777 } &-mask {