mirror of
https://github.com/logseq/logseq.git
synced 2026-05-25 13:14:39 +00:00
fix: should blur all inputs after exiting edit mode
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user