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

Relationship graph doesn't rescale on viewport resize #167

Open
tiredpixel opened this issue Jun 30, 2023 · 0 comments
Open

Relationship graph doesn't rescale on viewport resize #167

tiredpixel opened this issue Jun 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tiredpixel
Copy link
Contributor

On Firefox 114.0.2, viewing a relationship graph (see screenshot) and resizing the viewport (such as making the browser fullscreen) results in the graph staying partially or entirely off the page (see screenshot). My expectation would be that a viewport resize would be detected, and that the graph would be rescaled and recentred automatically.

https://register.openownership.org/entities/59b978b167e4ebf340844101/graph

I think this is likely a minor bug, as it doesn't prevent usage of the site, and refreshing the page rescales and recentres the graph.

It's possible this issue should be moved elsewhere—possibly to https://github.com/openownership/visualisation-tool , depending on what the cause is.

graph-0
graph-1

@tiredpixel tiredpixel added the bug Something isn't working label Jun 30, 2023
@StephenAbbott StephenAbbott changed the title Register v2: relationship graph doesn't rescale on viewport resize Relationship graph doesn't rescale on viewport resize Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant