Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
focus bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dineug committed Apr 30, 2019
1 parent 26dc074 commit b5588a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/editor/CanvasMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,10 @@ export default {
},
// edit on/off
onEnterEditor (e, isRead, id) {
if (isRead) {
e.target.blur()
e.target.focus()
}
model.commit({
type: 'modelEdit',
id: id,
Expand Down

0 comments on commit b5588a4

Please sign in to comment.