mirror of https://github.com/logseq/logseq
fix: should blur all inputs after exiting edit mode
parent
fe8679da2e
commit
6e0ed52af6
|
@ -51,6 +51,9 @@ export class EditingShapeState<
|
|||
e.stopPropagation()
|
||||
this.app.setSelectedShapes([this.editingShape])
|
||||
this.tool.transition('idle')
|
||||
|
||||
// Blur all inputs when exit idle
|
||||
document.querySelectorAll<HTMLElement>('input,textarea').forEach(el => el.blur())
|
||||
})
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue