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

feat(popover): add more positional options for popover (for example, ‘bottom-left’) #1750

Open
ameionline opened this issue Mar 14, 2017 · 6 comments

Comments

@ameionline
Copy link

The show is current version placement of popver
capture

how to make placement of popover to set as ‘bottom-left’? Below:
pic

@gastonelhordoy
Copy link

Hey there, I agree with @ameionline, it would be great if we could have the same positional options as in ui-bootstrap:

  • top - popover on top, horizontally centered on host element.
  • top-left - popover on top, left edge aligned with host element left edge.
  • top-right - popover on top, right edge aligned with host element right edge.
  • bottom - popover on bottom, horizontally centered on host element.
  • bottom-left - popover on bottom, left edge aligned with host element left edge.
  • bottom-right - popover on bottom, right edge aligned with host element right edge.
  • left - popover on left, vertically centered on host element.
  • left-top - popover on left, top edge aligned with host element top edge.
  • left-bottom - popover on left, bottom edge aligned with host element bottom edge.
  • right - popover on right, vertically centered on host element.
  • right-top - popover on right, top edge aligned with host element top edge.
  • right-bottom - popover on right, bottom edge aligned with host element bottom edge.

Great work BTW!
Thanks!

@Anima-t3d
Copy link

For now I am using ng2-pop-over You do need to create your own styling though.

@michaelfaisst
Copy link

michaelfaisst commented May 29, 2017

@gastonelhordoy Forked the repo to implement this, but then I noticed that there is the posibility to give two values to the placement input (e.g. "bottom left", "left top" etc.). It seems to work for me at least, but position of the popover arrow is not calculated accordingly. Don't know if it is a feature in development due to no documentation at all, but for a quick fix it works.

@qwe852147
Copy link

Sorry, this feature will be implement in future?

@kondareddyyaramala
Copy link

Hey Hi @michaelfaisst, I tried with bottom left , but it doesn't seem to be working. Is there anything needs to be done for this to work other than changing the placement property? Do you have any plukr made for this use case ?

@YevheniiaMazur YevheniiaMazur changed the title Popover arrow in bottom-left feat(popover): add more positional options for popover (for example, ‘bottom-left’) Jan 15, 2018
@jziggas
Copy link

jziggas commented Oct 9, 2018

This would be a great addition for people looking to move away from ui-bootstrap while going through the upgrade process on components. Without feature parity there's a lot of heartburn in making the move.

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