Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

shift problems #12

Open
skyhit opened this issue Oct 19, 2015 · 6 comments
Open

shift problems #12

skyhit opened this issue Oct 19, 2015 · 6 comments

Comments

@skyhit
Copy link

skyhit commented Oct 19, 2015

I meet this problem when using your package,

image

it seems related to the position calculation, any idea?

@johanbrook
Copy link
Contributor

Hi! Are you referring to the (i) icon being off, or that the tooltip isn't correctly positioned?

@skyhit
Copy link
Author

skyhit commented Oct 19, 2015

yes. the tooltip is showing when hovering the i icon.

@skyhit
Copy link
Author

skyhit commented Oct 20, 2015

@johanbrook I dive into the problems, looks like it is related to my specific cases.

  1. for elements in svg, looks like outerWidth() outerHeight() didn't return the proper value.
  2. for css like calc(50% - 5px) in less, it become calc(45%), after less process.

@skyhit
Copy link
Author

skyhit commented Nov 2, 2015

@johanbrook for item 1, do you need a PR?

@johanbrook
Copy link
Contributor

Hm, I've used this tooltip on SVG elements before. How is your exact markup?

@skyhit
Copy link
Author

skyhit commented Nov 2, 2015

@johanbrook you can see https://www.zirra.com/companies/outbrain, the Zirra's Rating section

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants