mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix not using className when querying container (#1420)
This commit is contained in:
parent
0e94303791
commit
692ceece65
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ export function textWysiwyg({
|
|||
const onPointerDown = (event: MouseEvent) => {
|
||||
if (
|
||||
event.target instanceof HTMLElement &&
|
||||
event.target.closest(CLASSES.SHAPE_ACTIONS_MENU) &&
|
||||
event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) &&
|
||||
!isWritableElement(event.target)
|
||||
) {
|
||||
editable.onblur = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue