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 3dmol zoom and expose zoom props #562

Merged
merged 10 commits into from
Jun 12, 2021
Merged

Fix 3dmol zoom and expose zoom props #562

merged 10 commits into from
Jun 12, 2021

Conversation

HammadTheOne
Copy link
Contributor

Closes #510

About

  • I am closing an issue
  • I am adding a feature to an existing component, or improving an existing feature

Description of changes

Repeated re-rendering of the Molecule3dViewer component caused the viewer zoom to decrease multiplicatively.
As part of this fix, we also expose the zoom and zoomTo props for this component to be available for Dash Callbacks.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃 LGTM!

@HammadTheOne HammadTheOne merged commit 5d3273c into master Jun 12, 2021
@HammadTheOne HammadTheOne deleted the fix-3dmol-zoom branch June 12, 2021 04:31
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.

Repeated zooming after updating a Molecule3dViewer
2 participants