-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Changing className on container breaks subsequent redraws #916
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
Comments
plotly.js pre- If you're looking for a better handling of this situation, I think this is now fixed via #907 which is part of the Can I ask why you would want to change the |
The original reporter wanted to style the div when loading data, this can easily be done with an enclosing div, so I don't think there are any critical use cases for this. I'm happy enough for this to be an error - the silent failure was the problem, so it's great that Many thanks for the response, feel free to close if you agree. |
Great. I'll close this issue. But, I'm open to suggestions about making plotly.js a little less intrusive (e.g. with |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Had a quick search and can't see any mention of this.
See fiddle here: https://jsfiddle.net/b1jLzqs1/2/
The plot should redraw three times - but only does so twice.
If one removes the line that modifies the container's className between redraws, then the redraw is successful.
Initial report: benjeffery/react-plotlyjs#10
Thanks!
The text was updated successfully, but these errors were encountered: