From 0fd0a80cbac669e01695c2434f91ab0fa41eb596 Mon Sep 17 00:00:00 2001 From: Ruslan Arkhipau Date: Wed, 26 Oct 2016 06:03:18 -0700 Subject: [PATCH] fix(tooltip): fix `appendToBody` tooltip positioning (#1158) (#1159) --- 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 eab6b362ef..ee0ca38b28 100644 --- a/components/tooltip/tooltip.directive.ts +++ b/components/tooltip/tooltip.directive.ts @@ -70,6 +70,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