Skip to content

Commit

Permalink
Fixes #351 - Blur form element when clicking in preview area
Browse files Browse the repository at this point in the history
  • Loading branch information
aumouvantsillage committed May 20, 2017
1 parent 95d8db9 commit 60715bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/view/Preview.js
Expand Up @@ -17,6 +17,7 @@ export const Preview = {

controller.addListener("loadSVG", () => this.onLoadSVG());
window.addEventListener("resize", () => this.repaint());
viewport.addListener("mouseDown", () => document.activeElement.blur());

return this;
},
Expand Down

0 comments on commit 60715bb

Please sign in to comment.