Browse Source

fix: allow text-selecting in dialogs & reset cursor (#2783)

Co-authored-by: dwelle <luzar.david@gmail.com>
Rafi 4 năm trước cách đây
mục cha
commit
af79461f41
2 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 5 0
      src/components/Dialog.scss
  2. 1 0
      src/packages/excalidraw/CHANGELOG.md

+ 5 - 0
src/components/Dialog.scss

@@ -1,6 +1,11 @@
 @import "../css/_variables";
 
 .excalidraw {
+  .Dialog {
+    user-select: text;
+    cursor: auto;
+  }
+
   .Dialog__title {
     display: grid;
     align-items: center;

+ 1 - 0
src/packages/excalidraw/CHANGELOG.md

@@ -31,6 +31,7 @@ Please add the latest change on the top under the correct section.
 
 ### Fixes
 
+- Allow text-selecting in dialogs & reset cursor [#2783](https://github.com/excalidraw/excalidraw/pull/2783)
 - Fix late-render due to debounced zoom [#2779](https://github.com/excalidraw/excalidraw/pull/2779)
 - Fix initialization when browser tab not focused [#2677](https://github.com/excalidraw/excalidraw/pull/2677)
 - Consistent case for export locale strings [#2622](https://github.com/excalidraw/excalidraw/pull/2622)