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

Tooltip arrow placement on input element is incorrect. #944

Closed
hallister opened this issue Sep 5, 2013 · 5 comments
Closed

Tooltip arrow placement on input element is incorrect. #944

hallister opened this issue Sep 5, 2013 · 5 comments

Comments

@hallister
Copy link

This can be seen in the current bootstrap3_bis branch. The tooltip arrow is exactly center, which makes the arrow point at the baseline of the input field. Bootstrap 3 uses a new calculation for arrow positioning, which currently isn't supported in our Tooltip (arrow positioning is always relative center to the tooltip.

@pkozlowski-opensource
Copy link
Member

Not sure if it is related but seeing similar issue when looking at the tooltip demo for the tooltip on the right side.

@kkruit
Copy link
Contributor

kkruit commented Sep 24, 2013

Unless I'm wrong, this doesn't have to do with bootstrap 3 calculations, but that, the content of the tooltip is wrapping so the height is changing after calculating position. I have a fix to center it when it is wrapping, however, I'm not sure why it's wrapping when the bootstrap 2.x version is not...

@kkruit
Copy link
Contributor

kkruit commented Sep 24, 2013

It's due to bootstrap 3 col elements are position: relative. I'll make a pull request with the centering fix.

@pkozlowski-opensource
Copy link
Member

@kkruit sorry that it took so long to come back to you on this one. I'm just looking into it, your analysis of the problem seems to be correct. At the end of the day it doesn't seem to have anything with inputs but happens when a tooltip elements gets wrapped.

@pkozlowski-opensource
Copy link
Member

It is fixed in the BS3 branch via 42475fd. Thnx @kkruit !

bekos pushed a commit to bekos/bootstrap that referenced this issue Dec 24, 2013
bekos pushed a commit to bekos/bootstrap that referenced this issue Dec 24, 2013
bekos pushed a commit that referenced this issue Dec 24, 2013
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