-
Notifications
You must be signed in to change notification settings - Fork 717
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 on scroll container #3
Labels
Comments
Hi, send in a PR. |
@renatodeleao Thanks for reporting! We'll try and fix this asap, but a PR would be wonderful :D |
maciej-ka
added a commit
to maciej-ka/charts
that referenced
this issue
Nov 8, 2017
Changes positining of tooltip from absolute to fixed. Closes: frappe#3
maciej-ka
added a commit
to maciej-ka/charts
that referenced
this issue
Nov 24, 2017
Changes positining of tooltip from absolute to fixed. Closes: frappe#3
maciej-ka
added a commit
to maciej-ka/charts
that referenced
this issue
Dec 1, 2017
Changes positining of tooltip from absolute to fixed. Closes: frappe#3
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heys! Cool lib! while scanning through the demos spotted a small bug on tooltip positioning.
Calculation is wrong when tooltip on scroll container, because
parent.offsetWidth < parent.scrollWidth
.demo
Possible Solution (pseudo-code)
Since it's not parent that is scrollable, but some outer wrapper div you could:
calc_position()
As i've stated, this is pseudo code and i haven't tested it. I might try it and submit a PR if you want but probably only have time on Friday.
Cheers and good luck with this!
The text was updated successfully, but these errors were encountered: