Skip to content

Commit

Permalink
fix: allow text-selecting in dialogs & reset cursor (excalidraw#2783)
Browse files Browse the repository at this point in the history
Co-authored-by: dwelle <[email protected]>
  • Loading branch information
Rafi993 and dwelle authored Jan 14, 2021
1 parent fd699c0 commit af79461
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Dialog.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
@import "../css/_variables";

.excalidraw {
.Dialog {
user-select: text;
cursor: auto;
}

.Dialog__title {
display: grid;
align-items: center;
Expand Down
1 change: 1 addition & 0 deletions src/packages/excalidraw/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit af79461

Please sign in to comment.