Skip to content

Commit

Permalink
Reset suggestWidget height when hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Mar 23, 2018
1 parent 9de24bf commit a9761fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/editor/contrib/suggest/suggestWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ export class SuggestWidget implements IContentWidget, IDelegate<ICompletionItem>
case State.Hidden:
hide(this.messageElement, this.details.element, this.listElement);
this.hide();
this.listHeight = 0;
if (stateChanged) {
this.list.splice(0, this.list.length);
}
Expand Down

0 comments on commit a9761fb

Please sign in to comment.