Skip to content

Commit

Permalink
Merge pull request #2824 from wtospit/master
Browse files Browse the repository at this point in the history
Fixed - #2823 - Multiselect container misaligned on filtering with appendTo="body"
  • Loading branch information
cagataycivici authored May 26, 2017
2 parents 058919e + 9a5a5c2 commit d89489e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/multiselect/multiselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ export class MultiSelect implements OnInit,AfterViewInit,AfterViewChecked,DoChec

ngAfterViewChecked() {
if(this.filtered) {
this.domHandler.relativePosition(this.panel, this.container);
if(this.appendTo)
this.domHandler.absolutePosition(this.panel, this.container);
else
this.domHandler.relativePosition(this.panel, this.container);

this.filtered = false;
}
}
Expand Down

0 comments on commit d89489e

Please sign in to comment.