Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

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

Rafiaf79461f419d
diff --git a/src/components/Dialog.scss b/src/components/Dialog.scss
index 3586c1cd27..b694669b74 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 5b4be70a1d..aa0ec43ba5 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)