Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Positioning: ngAfterViewChecked re-positioning not foolproof #707

Closed
pkozlowski-opensource opened this issue Sep 9, 2016 · 2 comments
Closed

Comments

@pkozlowski-opensource
Copy link
Member

It seems like the ngAfterViewChecked is not always called in the order we would expect. This can lead to badly positioned elements. To reproduce go to a demo page for popovers and:

  • open a popover
  • toggle source code view for the same demo for which you've opened a popover

Please note that the problem doesn't happen if you open other demo. So it only affects elements under the same root.

@pkozlowski-opensource
Copy link
Member Author

Other issue: the current positioning method doesn't take resize events into account.

@pkozlowski-opensource
Copy link
Member Author

#709 tackles tooltips and can serve as an example for other directives. Please note that we should merge #708 first to avoid tricky merges.

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

No branches or pull requests

1 participant