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

Tooltip problem with Flex display #196

Open
seltix5 opened this issue Oct 25, 2017 · 3 comments
Open

Tooltip problem with Flex display #196

seltix5 opened this issue Oct 25, 2017 · 3 comments

Comments

@seltix5
Copy link

seltix5 commented Oct 25, 2017

hi,

There is a problem with the tooltip when using flex body. Simple example here :

https://codepen.io/seltix/pen/pWXmEo

body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  padding: 50px;
}

<span class="sparkline">5,9,1,2,3,6,5,8,7,5,9,10</span>

jQuery(".sparkline").sparkline();

image

Apparently, changing the Tooltip createClass style position from "static" to "absolute" will solve the problem but i dont know it will cause other problems else where...

thanks.

@crico
Copy link

crico commented Mar 1, 2018

How did you resolve the bug? changing position from "static" to ???, thanks!

@seltix5
Copy link
Author

seltix5 commented Mar 1, 2018

hello,
sorry for the type error.
so, I changed the CSS in this line

sizeStyle: 'position: static !important;' +

position: static !important; => position: absolute !important;

@crico
Copy link

crico commented Mar 1, 2018

Thanks for answering so quickly. My problem was really this: #173, but I think that it is related with Flex too.

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

No branches or pull requests

2 participants