A clear and concise description of what the bug is.
Hover point on the line, see a tooltip.
No visible tooltip on Firefox (but it works on Chrome).

(please complete the following information):
Make sure these boxes are checked before submitting your issue - thank you!
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I am seeing the same here. This is due to #7102, more precisely the style for the body element in superset/assets/stylesheets/less/index.less.
The position: absolute setting on the body element causes Firefox to calculate the height (and consequently the clientHeight) of the html element as 0 as absolutely positioned elements have no influence on their parent's height. But NVD3 uses document.documentElement.clientHeight (documentElement is the html element) in the formula for calculating the position of the tooltip. Since it is always 0 on Firefox the calculation produces a grossly false result and places the tooltip off-screen.
My understanding of the change from the pull request above is that is meant to ensure that the body will always cover the entire window. A similar effect should be achievable with something like the following while avoiding the problem described above:
html {
height: 100%;
}
body {
min-height: 100%;
display: flex;
flex-direction: column;
}
@schoel-bis Are you sure this is the issue here? I've been investigating this same issue and am pretty sure the root cause is here: https://github.com/apache-superset/superset-ui-plugins/blob/master/packages/superset-ui-legacy-preset-chart-nvd3/src/NVD3Vis.js#L1081
We're removing all tooltips on the page whenever we rerender a chart, which is problematic especially on dashboards where multiple charts could have tooltips in the DOM. If your fix solves the issue here, than awesome, but I think there's another deeper problem that needs to be solved with the nvd3 chart plugin
Well, frankly I wouldn't bet on this being the one and only problem with tooltips or NVD3 on Firefox or anywhere. Anyway, I wasn't seeing any tooltips whatsoever in Firefox and with that patch applied I have them back.
@xtinec maybe you can confirm this as a side effect of your commit ?
@CoryChaplin This PR caused an issue: the standalone mode chart didn't show anymore. please see #8147 for details. We have reverted this PR from master branch.
So, if the fix has been reverted, this needs to be re-opened, I suppose. I can't find how to do that, though.
Although I do not currently have the time to investigate any further, I'd like to add a few observations:
#chart-container div is missing entirely from the embedded chart, so it looks like something is going badly wrong in the process of creating the chart. No exceptions are ever logged to the console, though.standalone=true query – although this is not what you would want to have displayed when embedding thingsThis issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
Could you open a more general issue or assign .pinned to this?
Hi, we are experiencing the same issue with latest stable release, I understand the fix was reverted?
I'm having an issue like this, where hovering mouse over charts with firefox does not display any extra information.
Most helpful comment
So, if the fix has been reverted, this needs to be re-opened, I suppose. I can't find how to do that, though.
Although I do not currently have the time to investigate any further, I'd like to add a few observations:
#chart-containerdiv is missing entirely from the embedded chart, so it looks like something is going badly wrong in the process of creating the chart. No exceptions are ever logged to the console, though.standalone=truequery – although this is not what you would want to have displayed when embedding things