Skip to content

Commit

Permalink
Merge pull request #96203 from jeanp413/fix-96009
Browse files Browse the repository at this point in the history
Fixes clicking on problems filter inputbox makes problems panel callapse
  • Loading branch information
sandy081 authored Apr 27, 2020
2 parents de1e481 + 26c0fa1 commit 94c469d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ export class MarkersFilterActionViewItem extends BaseActionViewItem {
this._register(DOM.addStandardDisposableListener(this.filterInputBox.inputElement, DOM.EventType.KEY_DOWN, (e: any) => this.onInputKeyDown(e, this.filterInputBox!)));
this._register(DOM.addStandardDisposableListener(container, DOM.EventType.KEY_DOWN, this.handleKeyboardEvent));
this._register(DOM.addStandardDisposableListener(container, DOM.EventType.KEY_UP, this.handleKeyboardEvent));
this._register(DOM.addStandardDisposableListener(this.filterInputBox.inputElement, DOM.EventType.CLICK, (e) => {
e.stopPropagation();
e.preventDefault();
}));

const focusTracker = this._register(DOM.trackFocus(this.filterInputBox.inputElement));
this._register(focusTracker.onDidFocus(() => this.focusContextKey.set(true)));
Expand Down

0 comments on commit 94c469d

Please sign in to comment.