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

Popover arrow not positioned in the center of link element. #5685

Closed
Rouche opened this issue Mar 23, 2016 · 5 comments
Closed

Popover arrow not positioned in the center of link element. #5685

Rouche opened this issue Mar 23, 2016 · 5 comments

Comments

@Rouche
Copy link
Contributor

Rouche commented Mar 23, 2016

Hi,

We a problem when forcing "auto bottom" close to the edge of the screen.

The arrow is not positioned in the center of the parent, is there any way to fix this manually for us?

You can see when clicking the X : http://plnkr.co/edit/Ej1NfYa3Oj75ZUv0vFVB?p=preview

Not sure if its a good idea to provide some sort of callback for positionning?

Angular: 1.5.2
UIBS: 1.2.5
Bootstrap: 3.3.6

@icfantv
Copy link
Contributor

icfantv commented Mar 23, 2016

@RobJacobs, i vaguely recall a discussion around this. Something having to do w/ margins maybe? Can you please confirm if @Rouche's use case is correct? Thanks.

@RobJacobs
Copy link
Contributor

@icfantv, @Rouche This is part of the reason we moved the tooltip inline styles to css classes. See issue #5464 for reasons why this is happening and suggested fixes.

It looks like the auto positioning is setting the placement to bottom-right since there is not enough room to display the popover bottom-center.

@Rouche
Copy link
Contributor Author

Rouche commented Mar 23, 2016

Definatelly same bug. Not because i did not searched!

Closing, thanks for the link.

@Rouche Rouche closed this as completed Mar 23, 2016
@icfantv
Copy link
Contributor

icfantv commented Mar 23, 2016

@RobJacobs, thanks. I thought we discussed it before.

@Rouche
Copy link
Contributor Author

Rouche commented Mar 23, 2016

Not same thing, it was to make a popover "optional" when "popover-visible" is always true.

Good memory sir!

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

3 participants