Skip to content

Conversation

@noahmay
Copy link
Contributor

@noahmay noahmay commented Aug 17, 2022

Add resize observer to visualizer to make sure zoom to fit works when window/container changes size.

@noahmay
Copy link
Contributor Author

noahmay commented Aug 17, 2022

@noahmay noahmay changed the title Add resize observer to visualizer Make sure fit to graph always work Aug 17, 2022
@noahmay noahmay merged commit ba78ebf into neo4j:master Aug 18, 2022
@noahmay noahmay deleted the add-resize-event-to-visualizer branch August 18, 2022 13:45
noahmay added a commit to OskarDamkjaer/neo4j-browser that referenced this pull request Aug 22, 2022
* resize visualizer on window resize

* Change to resize observer

* remove unsued function

* fix linting issues

* Disconnect resize observer on unmount in cypher editor

* clean up resize code in graph visualizer

* Restore comment
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.

2 participants