Browse Source

Fix modal text being selected when open it with double click, close #11777

pull/11782/head
afc163 6 years ago
parent
commit
ec6d88f407
  1. 1
      components/modal/style/modal.less

1
components/modal/style/modal.less

@ -111,6 +111,7 @@
animation-duration: @animation-duration-slow; animation-duration: @animation-duration-slow;
transform: none; // reset scale avoid mousePosition bug transform: none; // reset scale avoid mousePosition bug
opacity: 0; opacity: 0;
user-select: none; // https://github.com/ant-design/ant-design/issues/11777
} }
&-mask { &-mask {

Loading…
Cancel
Save