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

Tooltip / popover - support more positioning options #857

Closed
pkozlowski-opensource opened this issue Oct 8, 2016 · 3 comments
Closed

Tooltip / popover - support more positioning options #857

pkozlowski-opensource opened this issue Oct 8, 2016 · 3 comments

Comments

@pkozlowski-opensource
Copy link
Member

In addition to the default top, bottom, left and right we should add support for top-left, top-right, bottom-left and bottom-right.

The positioning service is already capable of calculating proper coordinates, the only remaining part is to take care of proper arrows positioning. In angular-ui/bootstrap we were doing this directly in the positioning service but IMO we should try to do it directly in the popover / tooltip window directives (add more CSS rules).

@pkozlowski-opensource
Copy link
Member Author

Bonus: if we do this we could use popovers to display date / time pickers in popups.

@pkozlowski-opensource
Copy link
Member Author

twbs/bootstrap@8ef66df might change things for us in respect to this issue.

@intellix
Copy link
Contributor

intellix commented May 19, 2017

Tried using these as there's nothing stopping me and saw that bottom-left works but not bottom-right is a bit wappy: http://plnkr.co/edit/PoZ8fBskiCkcKeZ1Chvt?p=preview

Actually, tried all of them and the wrong ones are:

  • top-right
  • right-bottom
  • bottom-right
  • left-top

I'm on it though and a PR will follow

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

2 participants