jupyterlab/lumino

Containers with managed size and position should use `contain:strict`

krassowski opened this issue · 0 comments

Description

Containers in some layouts (e.g. panels) have fully managed size and position but are slow to work with.

Reproduce

  1. Open gh-9757-reproducer.ipynb and all-html-elements.ipynb notebooks as follows in a Chromium browser;
    Screenshot from 2022-12-27 12-46-53
  2. Try to resize split panel in top-bottom
  3. See jitter
Without contain strict (current) with contain:strict (proposed)
without-contain-strict with-contain-strict

Expected behavior

No jitter on resize. Widget containers with managed size use contain: strict.