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

Using a chart inside iron-collapse causes unecessary refresh #14

Closed
plequang opened this issue Nov 8, 2016 · 1 comment
Closed

Using a chart inside iron-collapse causes unecessary refresh #14

plequang opened this issue Nov 8, 2016 · 1 comment

Comments

@plequang
Copy link
Contributor

plequang commented Nov 8, 2016

When using an nvd3-pie or nvd3-donut element within an iron-collapse element, the chart element receive iron-resize events when we mouse hover the chart.

This is because iron-collapse fires iron-resize events when it receives transitionend events.

Donut and pie charts use css transitions to change the opacity of the chart slices, causing a transitionend event to bubble up to iron-collapse.

This is not a nvd3-elements issue, but maybe nvd3-elements could provide a workaround to avoid this (by stopping transitionend events propagation).

I will submit a PR, let me know if you think it's relevant.

@saeidzebardast
Copy link
Owner

Thanks for PR. I've merged it.

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