Skip to content

Commit

Permalink
Merge pull request #82972 from frobinsonj/fix-80741
Browse files Browse the repository at this point in the history
Filter out dead keys in tree keyboard navigation
  • Loading branch information
joaomoreno authored Oct 21, 2019
2 parents ad9e270 + 130d231 commit cfb88f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/base/browser/ui/tree/abstractTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ class TypeFilterController<T, TFilterData> implements IDisposable {

const onKeyDown = Event.chain(domEvent(this.view.getHTMLElement(), 'keydown'))
.filter(e => !isInputElement(e.target as HTMLElement) || e.target === this.filterOnTypeDomNode)
.filter(e => e.key !== 'Dead')
.map(e => new StandardKeyboardEvent(e))
.filter(this.keyboardNavigationEventFilter || (() => true))
.filter(() => this.automaticKeyboardNavigation || this.triggered)
Expand Down

0 comments on commit cfb88f2

Please sign in to comment.