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

When resizing the webpage, the modebar disappears for all plots except the last one. #3809

Closed
jmonticolo opened this issue Apr 25, 2019 · 4 comments
Labels
bug something broken

Comments

@jmonticolo
Copy link

After generating html + JS div for web output for two or more plots (in my case with Python but I don't think this is the source of the issue), from the 1.46.0 of plotly.min.js, when the webpage is resized, the modebar disappears for all plots except the last one.

Here is an example. Run the code and resize the browser or move the vertical splitter :
https://jsfiddle.net/be1s2wur/

Navigator used : firefox 66.0.3

The issue doesn't appear in the version 1.45.3.
The issue is still present in the 1.47.3 (current) version.

@etpinard
Copy link
Contributor

Thanks very much for reporting.

This is probably a side-effect of #3589

@etpinard etpinard added the bug something broken label Apr 25, 2019
@antoinerg
Copy link
Contributor

@jmonticolo in your example, you are loading plotly.js twice. By removing the second <script> tag, the issue seems to go away: https://jsfiddle.net/p0c83yzq/

@etpinard Should I investigate this further?

@etpinard
Copy link
Contributor

Should I investigate this further?

Let's wait until we can get more info from @jmonticolo before investigating further.

@jmonticolo
Copy link
Author

Indeed, it works ! I have now to play more with the include_plotlyjs (plotly.offline.plot) parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

3 participants