Skip to content

Commit

Permalink
Fixed #3639
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Aug 10, 2017
1 parent a722ea0 commit c9c031c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,10 @@ export class Dropdown implements OnInit,AfterViewInit,AfterContentInit,AfterView
if(this.optionsChanged && this.panelVisible) {
this.optionsChanged = false;

setTimeout(() => this.alignPanel(), 1);
setTimeout(() => {
this.updateDimensions();
this.alignPanel();
}, 1);
}

if(this.selectedOptionUpdated && this.itemsWrapper) {
Expand Down

0 comments on commit c9c031c

Please sign in to comment.