Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

fix(tooltip) Tooltip is not re positioned after changing its text content #2815

Closed
hadrienl opened this issue Oct 10, 2014 · 3 comments
Closed

Comments

@hadrienl
Copy link

Hi, if you display a tooltip with an expression and this expression change while the tooltip is displayed, then it's not redimensionned and re positionned like you can see here : http://plnkr.co/edit/6ZdI7F8YrwAaM4bUzboI?p=preview

@hadrienl
Copy link
Author

I've made a working workaround :

attrs.$observe('tooltip', function (val) {
  if (tooltip) {
    removeTooltip();
    $timeout(show);
  }
});

demo here : http://plnkr.co/edit/6D1Vj2oWuGQIaOf83cGR?p=preview

@hadrienl
Copy link
Author

PR : #2816

@hadrienl hadrienl changed the title Tooltip is not re positioned after changing its text content fix(tooltip) Tooltip is not re positioned after changing its text content Oct 13, 2014
@pkozlowski-opensource
Copy link
Member

This is duplicate of #96

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants