nfischer / framily-tree

:beers: An interactive family tree for Theta Chi fraternity
https://nfischer.github.io/framily-tree/
MIT License
7 stars 13 forks source link

Network is sometimes zoomed-out on initial load on iOS #16

Open nfischer opened 6 years ago

nfischer commented 6 years ago

Sometimes the network appears zoomed out after the page loads (this is before user interaction). The desired behavior is for the network to be the full size of the Theta Chi flag area.

I can't repro on Android but can occasionally repro on the mobile mode in Chrome devtools. I can also repro on my iPhone (safari and chrome). It usually only repros on the first load after a navigation: subsequent reloads always display correctly.

I think this might only repro when inside the iframe. I can't repro when I load a locally-served file within the iframe, but I can sometimes repro if I serve a local file which points its iframe at https://nfischer.github.io/framily-tree/.


img_9899

nfischer commented 6 years ago

Might be able to use autoResize to workaround this?