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

Fix Plotly Charts when exiting out of fullscreen #5645

Merged

Conversation

willhuang1997
Copy link
Collaborator

📚 Context

This is a regression. #5644
Please describe the project or issue background here

  • What kind of change does this PR introduce?

    • Bugfix
    • Feature
    • Refactoring
    • Other, please describe:

🧠 Description of Changes

  • Adds an else clause when fullscreen is not true and resets the height and width

  • Add bullet points summarizing your changes here

    • This is a breaking API change
    • This is a visible (user-facing) change

Revised:

Insert screenshot of your updated UI/code here

Screen.Recording.2022-11-03.at.10.25.27.AM.mov

Current:

Screen.Recording.2022-11-03.at.10.23.34.AM.mov

Insert screenshot of existing UI/code here

🧪 Testing Done

  • Screenshots included
  • Added/Updated unit tests
  • Added/Updated e2e tests

🌐 References

Does this depend on other work, documents, or tickets?


Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@willhuang1997 willhuang1997 marked this pull request as draft November 3, 2022 20:46
@willhuang1997 willhuang1997 marked this pull request as ready for review November 3, 2022 21:15
@willhuang1997 willhuang1997 merged commit edff329 into streamlit:develop Nov 3, 2022
tconkling added a commit to tconkling/streamlit that referenced this pull request Nov 8, 2022
* develop:
  Add mypy fixes (streamlit#5662)
  Don't render stale st.snow and st.ballons elements (streamlit#5401)
  Fix unevaluated dataframe exception formatting (streamlit#5657)
  Update aboutDialog to check SessionInfo.isSet() before referring the instance (streamlit#5518)
  Replace assertEquals->assertEqual to silence deprecation warnings (streamlit#5648)
  Reworke AttrDict for st.secrets to explicitly disallow item and attribute assignment (streamlit#5621)
  Fix pydoc command for streamlit package (streamlit#5535)
  Temporarily have /st-allowed-message-origins double as a healthcheck (streamlit#5642)
  Fix Plotly Charts when exiting out of fullscreen (streamlit#5645)
  Flaky test e2e fixes (streamlit#5610)
kmcgrady pushed a commit to kmcgrady/streamlit that referenced this pull request Nov 8, 2022
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

Successfully merging this pull request may close these issues.

Plotly Full Screen causes issues
2 participants