From 9df1e9bf827e4c9bd9e73ff2b98950419065b6fb Mon Sep 17 00:00:00 2001 From: Chris Chua Date: Wed, 8 Apr 2015 23:49:49 -0700 Subject: [PATCH] fix(popover): prevent wrong positioning from title If the title is blank, ngAnimate attempts to animate ngShow so positionTooltip gets called when the title box is still visible, about to be animated to hidden. Hence, the positionTooltip receives a taller height. Avoid this by using ngIf instead. --- template/popover/popover-template.html | 2 +- template/popover/popover.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/popover/popover-template.html b/template/popover/popover-template.html index 0d3fca4521..31fe71f8f7 100644 --- a/template/popover/popover-template.html +++ b/template/popover/popover-template.html @@ -5,7 +5,7 @@
-

+

diff --git a/template/popover/popover.html b/template/popover/popover.html index 1fd11a2656..08a7afe892 100644 --- a/template/popover/popover.html +++ b/template/popover/popover.html @@ -5,7 +5,7 @@
-

+