Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Tooltip lingers #41

Open
jscheid opened this issue Jun 5, 2016 · 5 comments
Open

Tooltip lingers #41

jscheid opened this issue Jun 5, 2016 · 5 comments

Comments

@jscheid
Copy link

jscheid commented Jun 5, 2016

Hi, not sure if this is related to #40 but have a look here: https://jsfiddle.net/julians37/uazsgvya/1/

Mouse over an item so that the tooltip is shown, then click.

This causes the chart to be unmounted, yet the tooltip is still visible.

@topicus
Copy link
Contributor

topicus commented Jun 7, 2016

@jscheid It seems like the renderEnd method is never triggered in the scatterChart. Probably a nvd3 issue. Still working in this.

@grantga
Copy link

grantga commented Dec 30, 2016

Any update on this issue--it seems to still be present in the scatter chart in the latest release. Any ideas on a workaround?

@grantga
Copy link

grantga commented Jan 13, 2017

Looks like this is a problem of renderEnd not getting called for some chart types in more recent nvd3 releases:
novus/nvd3#1720

Downgrading to [email protected] seemed to fix the renderEnd issue.

@topicus
Copy link
Contributor

topicus commented Jan 16, 2017

@grantga @jscheid Sorry I've been out of pocket this weeks. I've tried to fix it but as you pointed out that's an issue in the nvd3 library. Render end event it's not consistent across chart models. Sometimes you need to subscribe to the child component (line, pie, etc.) and sometimes to the parent (lineChart, pieChart, etc.) and sometimes neither of them works.

@jscheid
Copy link
Author

jscheid commented Jan 16, 2017

Fair enough, thanks for the update. I'd rather not downgrade but I'll see if I can have a go at fixing the upstream issue one of these days.

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

No branches or pull requests

3 participants