register icon indicating copy to clipboard operation
register copied to clipboard

Relationship graph doesn't rescale on viewport resize

Open tiredpixel opened this issue 2 years ago • 0 comments

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 avatar Jun 30 '23 13:06 tiredpixel