allen-cell-animated / website-3d-cell-viewer

Other
5 stars 5 forks source link

Grey area appears when collapsing the left menu #205

Open ShrimpCryptid opened 5 months ago

ShrimpCryptid commented 5 months ago

Description

Collapsing/revealing the left menu causes a grey area to appear to the right of the main viewport. This is likely caused by a delayed canvas size update? There's also some jumping in the canvas size.

image

Expected Behavior

Would be nice to have the canvas smoothly increase to the new size, without revealing seams in the layout.

Reproduction

A minimal example that exhibits the behavior.

Environment

Any additional information about your environment. E.g. OS version, python version, browser etc.

frasercl commented 4 months ago

Change background color of element behind the canvas to match canvas background color?