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

feat(tooltip): update position dynamically #3435

Merged

Conversation

chrisirhc
Copy link
Contributor

Reposition on each digest, this ensures that the tooltip is always positioned
correctly no matter how its content changes.

Fixes #96
Fixes #1109
Closes #2816

Prerequisite of #1848

@chrisirhc chrisirhc added this to the 0.13.0 milestone Mar 25, 2015
@chrisirhc chrisirhc force-pushed the feature/update-tooltip-position branch from c8cde43 to 3b99f69 Compare March 25, 2015 07:29
chrisirhc added a commit to chrisirhc/angular-ui-bootstrap that referenced this pull request Mar 25, 2015
Reposition on each digest, this ensures that the tooltip is always positioned
correctly no matter how its content changes.

Fixes angular-ui#96
Fixes angular-ui#1109
Closes angular-ui#2816
Closes angular-ui#3435
This was referenced Mar 25, 2015
@wesleycho
Copy link
Contributor

Yuck...this will likely be pretty unperformant I think.

We can revisit this though after releasing 0.13 and seeing what we can do to improve the performance.

LGTM for now.

@chrisirhc
Copy link
Contributor Author

Yep indeed. There could be some optimizations to be made but I think it should be okay for now unless users of the directive have a lot of open tooltips at the same time.

@chrisirhc
Copy link
Contributor Author

@RobJacobs unfortunately, this won't resolve #375 . That issue requires changes to the way $position works.

Reposition on each digest, this ensures that the tooltip is always positioned
correctly no matter how its content changes.

Fixes angular-ui#96
Fixes angular-ui#1109
Closes angular-ui#2816
Closes angular-ui#3435
@chrisirhc chrisirhc force-pushed the feature/update-tooltip-position branch from 3b99f69 to 853fa45 Compare March 27, 2015 04:26
@chrisirhc chrisirhc merged commit 853fa45 into angular-ui:master Mar 27, 2015
@chrisirhc chrisirhc deleted the feature/update-tooltip-position branch March 27, 2015 04:26
@venkikalva
Copy link

is overflowing window borders issue is fixed?

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