From af79461f419d9a3633b71b466b46a12f202a0ecc Mon Sep 17 00:00:00 2001 From: Rafi Date: Thu, 14 Jan 2021 19:12:15 +0530 Subject: [PATCH] fix: allow text-selecting in dialogs & reset cursor (#2783) Co-authored-by: dwelle --- src/components/Dialog.scss | 5 +++++ src/packages/excalidraw/CHANGELOG.md | 1 + 2 files changed, 6 insertions(+) diff --git a/src/components/Dialog.scss b/src/components/Dialog.scss index 3586c1cd..b694669b 100644 --- a/src/components/Dialog.scss +++ b/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; diff --git a/src/packages/excalidraw/CHANGELOG.md b/src/packages/excalidraw/CHANGELOG.md index 5b4be70a..aa0ec43b 100644 --- a/src/packages/excalidraw/CHANGELOG.md +++ b/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)