Pane resize fix: inline flex:none frees #detpane from the sidebar aside rule #634
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-pane2c"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dogfood find (Nikola, v0.6.230): the divider showed, the cursor said draggable, but dragging changed nothing.
Root-caused live in the browser: drags WERE firing —
cairn-det-whad a saved 303.6px from the "dead" drag, and#detpane.style.widthfollowed the pointer — but the rendered box stayed pinned at 216px. The redesign sheet (rd-style-extra) pins the left sidebar via#app > aside { flex: 0 0 216px; width: 216px }, and#detpaneis also an<aside>inside#app;#app > aside(1,0,1) out-specifies#detpane(1,0,0), so flex-basis overrode every width the resizer set. The old preview panel never hit this because it was a<section>. (Which also means the pane has silently rendered at 216px since #538 — the 380px default only becomes real with this fix.)Fix:
el.style.flex = "none"inline in detEnsure — inline beats any sheet, andstyle.width(the resizer's channel) applies again. Verified live before shipping: with inline flex the pane went 216→303 and followed a 500px set instantly.Guard: det-resize.test.js gains "the pane is immune to the sidebar aside rule".