Skip to content

Commit

Permalink
Place cursor at end of extensions search box on autofill (#55254)
Browse files Browse the repository at this point in the history
* Place cursor at end of extensions search box on autofill

* Use position instead of selection
  • Loading branch information
Jackson Kearl authored and ramya-rao-a committed Jul 31, 2018
1 parent 9c44535 commit 4884651
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ export class ExtensionsViewlet extends ViewContainerViewlet implements IExtensio
event.immediate = true;

this.searchBox.setValue(value);
this.searchBox.setPosition(new Position(1, value.length + 1));
}

private triggerSearch(immediate = false): void {
Expand Down

0 comments on commit 4884651

Please sign in to comment.