prevent popover focus propagation #1718
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-09-30 07:53:38 +02:00
parent cae2a0a148
commit a98a8831ed
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ export default class Popover extends Component {
}, 30);
this.document.addEventListener('keydown', this.docKeyDownHandler);
this.document.addEventListener('focusin', this.docFocusInHandler);
this.document.addEventListener('focus', this.docFocusInHandler);
this.element.addEventListener('mousedown', this.bgMouseDownHandler);
this.deregisterCallback = this.$transitions.onStart({}, () => this.hide());