- Decision
- ADR-271
- Date
- 2026-11-19
- Status
- AcceptedAccepted (owner, 2026-11-19: opening has no motion and must have, closing has it, and the owner asked why this is hard, for the fourth time). The times and curves are the agent's calls, from the other motion of the portal; the owner may overrule them.
- Mentions
- ADR-268, ADR-270
- Mentioned by
- ADR-270
1Decision
A disclosure of the portal (the advisories of a library, the filter panel of the lists) moves on opening as well as on closing, which replaces point (5) of ADR-270 and the rule of ADR-268 that it opens at once and animates only when it closes. Opening: the height grows from the closed height to the open one in 380 ms on the curve that slows towards the end, the content fades in over 260 ms, and the plus turns into a cross. Closing: 260 ms on the standard curve, the content fades out over 160 ms, and the plus turns back. prefers-reduced-motion keeps both without motion. The transition of a state is set in the rule of that state, so the opening and the closing have their own times.
2Why and evidence
The rule of ADR-268 was written from a remark of the owner and read the wrong way round: the opening had been removed and the owner kept asking for it. Setting transition: none in the rule of the open state, which ADR-268 and ADR-270 did, is exactly what removes the opening motion, and the measurements of those entries (the heights at the first frame) showed the lack of motion and were reported as the fix. Rejected: a script that animates the height (a native element and one CSS rule do it, in the browsers that have ::details-content), a motion on the button itself.
3Consequences
Measured with real clicks of the browser pane, every frame logging the height [measured]: Read the 13 advisories grows from 46 to 2,415 px in about 300 ms (486, 1,236, 1,755, 2,062, 2,230, 2,322, 2,371, 2,397, 2,409 px in steps of about 33 ms) and closes in about 270 ms; the filter panel at 725 px grows from 46 to 479 px in about 340 ms and closes in about 260 ms. Not measured: Firefox and Safari, where a browser without ::details-content opens and closes without a transition; the sweep of axe and overflow was not repeated for this CSS change, which touches no layout.
4Review when
The owner finds the time or the curve wrong; a browser that the owner uses lacks ::details-content (a script would then be weighed against the one-script rule); a new disclosure is added (it takes the same two rules).
Read from docs/governance/decision-log.md, entry ADR-271.