bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Tooltip arrow placement on input element is incorrect.

Open hallister opened this issue 13 years ago • 5 comments

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.

hallister avatar Sep 05 '13 04:09 hallister

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

pkozlowski-opensource avatar Sep 07 '13 17:09 pkozlowski-opensource

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 avatar Sep 24 '13 18:09 kkruit

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

kkruit avatar Sep 24 '13 18:09 kkruit

@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 avatar Nov 23 '13 18:11 pkozlowski-opensource

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

pkozlowski-opensource avatar Nov 23 '13 19:11 pkozlowski-opensource