Skip to content

Commit

Permalink
Fixed #5706
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici authored and Çağatay Çivici committed May 31, 2018
1 parent fd9e06c commit 2edc1d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/splitbutton/splitbutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ export class SplitButton implements AfterViewInit,AfterViewChecked,OnDestroy {

ngOnDestroy() {
this.unbindDocumentClickListener();

if(this.appendTo) {
this.el.nativeElement.appendChild(this.overlayViewChild.nativeElement);
}
}
}

Expand Down

0 comments on commit 2edc1d7

Please sign in to comment.