jupyterlab / jupyterlab

JupyterLab computational environment.
https://jupyterlab.readthedocs.io/
Other
14.09k stars 3.32k forks source link

Should there be a transition to ease out the cell toolbar rendering delay? #16310

Open krassowski opened 4 months ago

krassowski commented 4 months ago

Problem

Cell toolbar rendering takes time. This leads to blinking when switching cells

Before After https://github.com/jupyterlab/jupyterlab/pull/16291
before after

Proposed Solution

Note: the gifs below do not reflect how the transition looks in real life - unfortunately my recorder has a bit choppy framerate

Add some transition, for example opacity (here 150ms ease-in-out):

ease-in-out

Slide in seems too aggressive with 200ms ease-in at 100% translation

slide-in

but at 50% it looks bearable:

slide-in-50

Additional context

None

brichet commented 4 months ago

Thanks for opening this @krassowski