From 609fc491fd91d0f447e17176db7618b76214e7f9 Mon Sep 17 00:00:00 2001 From: Ruslan Arkhipau Date: Mon, 24 Oct 2016 14:20:34 -0700 Subject: [PATCH] fix(tooltip): fix `appendToBody` tooltip positioning (#1158) --- components/tooltip/tooltip-options.class.ts | 1 + components/tooltip/tooltip.directive.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/components/tooltip/tooltip-options.class.ts b/components/tooltip/tooltip-options.class.ts index 9089dd6848..9ed9bc39bd 100644 --- a/components/tooltip/tooltip-options.class.ts +++ b/components/tooltip/tooltip-options.class.ts @@ -5,6 +5,7 @@ export class TooltipOptions { public placement:string; public popupClass:string; public animation:boolean; + public appendToBody:boolean; public isOpen:boolean; public content:string; public htmlContent:any; diff --git a/components/tooltip/tooltip.directive.ts b/components/tooltip/tooltip.directive.ts index d3e798b7e7..762be4a00e 100644 --- a/components/tooltip/tooltip.directive.ts +++ b/components/tooltip/tooltip.directive.ts @@ -66,6 +66,7 @@ export class TooltipDirective { htmlContent: this.htmlContent, placement: this.placement, animation: this.animation, + appendToBody: this.appendToBody, hostEl: this.viewContainerRef.element, popupClass: this.popupClass, context: this.tooltipContext