Skip to content

Commit

Permalink
fix #799
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Jul 19, 2016
1 parent 87c87d6 commit 7dde1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class BaseTheme extends Theme {
return document.body.removeEventListener('click', listener);
}
if (this.tooltip != null && !this.tooltip.root.contains(e.target) &&
document.activeElement !== this.tooltip.textbox) {
document.activeElement !== this.tooltip.textbox && !this.quill.hasFocus()) {
this.tooltip.hide();
}
if (this.pickers != null) {
Expand Down

0 comments on commit 7dde1f1

Please sign in to comment.