Skip to content

design(reduced-motion): a dip may land its travel as one step while transparent - #8479

Draft
vjeux wants to merge 3 commits into
meta:mainfrom
vjeux:design/rm-dip-step
Draft

vjeux wants to merge 3 commits into
meta:mainfrom
vjeux:design/rm-dip-step

Conversation

@vjeux

@vjeux vjeux commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Exact decision needed

May a Reduce Motion dip on a touch screen land its travel as one step scheduled with its fade, instead of a write that waits for the main thread?

Existing authority searched

design:reduced-motion DR1–DR4 and its verification table, spec:AST-094 FR5, architecture:interaction-modality. DR2's evidence row fails any animated transform, so a compositor landing is not allowed today. No open pull request changes this record.

Decision

DR2 keeps opacity only and 200 ms; a dip may land its travel as one step with no in-between value, at the instant the element is fully transparent. The verification row fails a transform with an in-between value or one that changes while visible, instead of any animated transform.

Rejected alternatives

  • A plain style write on a timer: a busy main thread runs it late and the dip outlasts 200 ms.
  • Shortening the fade back in by the lateness: holds 200 ms only up to half the fade of lateness, then pops in.

Claim scope and non-goals

Only the travel step inside a dip; entrances, exits, DR3, DR4 and momentum are unchanged.

Evidence and implementation relationship

A search field's cancel under a busy main thread: the timer ran 80 ms late and the cross-fade spanned 280–290 ms. The animator now shortens the fade back in; this decision lets the landing move to the compositor and hold 200 ms under any load.

Writing rubric results

  • R1 narration: none.
  • R2 research in the record: none; measurements stay here.
  • R3 evidence naming a change: none.
  • R4 rejected alternatives over one line or outside a decision: none in the record.
  • R5 pull request or issue references remaining: none.
  • R6 ruled open questions still listing options: none.

Scope

  • This PR contains specification records only.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract.
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text and artifacts contain no internal Meta context.

Validation

  • pnpm check:knowledge, Prettier, git diff --check: clean.
  • 0870249 merges main 3e58ae0, adding main's DR2 colors row to the table.

…ransparent

DR2 keeps opacity only and 200 ms or less. A transition that dips may land
its element's travel as a single step, with no in-between value, scheduled
with the fade at the instant the element is fully transparent, so a busy
main thread neither delays the landing nor lengthens the fade. The
verification row fails a transform with an in-between value, or one that
changes while the element is not fully transparent.
@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 17, 2026 4:18pm UTC

Request Review

@astracat-bot

astracat-bot Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 17, 2026, 4:22 PM UTC

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Oct 26, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 26, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request amends a current claim, design:reduced-motion DR2 and its DR1, DR2 verification row, so approval waits on an owner decision: an engineering owner (or a design owner, for this design record) records it by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. The decision to settle is whether, under Reduce Motion on a touch screen, a dip may land its element's travel as one step at the instant the element is fully transparent, with the row failing only travel that has an in-between value or changes while the element shows. Independently of that decision, the new sentence calls the step "the element's travel" while spec:AST-094's FR7, FR8 verification row still fails "any travel, scale or spring under Reduce Motion other than a coast after a throw and its settle at an edge"; rewording the permission so the step is not travel, or amending that row, keeps the two current records from disagreeing.

[Automated review]

- **DR2 — Touch presentations cross-fade.** Under reduced motion, when the
primary pointer is coarse (`pointer: coarse`), or when the release of a touch
drag starts the transition, each DR1 transition MUST change opacity only and MUST finish in 200 ms or less. An entering element
drag starts the transition, each DR1 transition MUST change opacity only and MUST finish in 200 ms or less. A transition that dips (fades out, then back in where its element ends) MAY land the element's travel as a single step, with no in-between value, scheduled with the fade at the instant the element is fully transparent, so a busy main thread neither delays the landing nor lengthens the fade. An entering element

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This calls the step "the element's travel", but spec:AST-094's FR7, FR8 verification row still fails "any travel, scale or spring under Reduce Motion other than a coast after a throw and its settle at an edge", so as worded a dip that uses this permission fails that row. Consider wording it so the step is not travel, for example "MAY put the element where it ends in a single step, with no in-between value, at the instant it is fully transparent; such a step is not travel under DR1", or amending that row's exception.

Main's reduced-motion record (with meta#8645's in-place value rule) is kept;
this branch re-applies only its own two edits: the DR1 sentence that lets
a dip land its travel as one step while transparent, and the DR1, DR2
row's failure signal.

# Conflicts:
#	docs/design/reduced-motion.md

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request amends a current claim, design:reduced-motion DR2 and its DR1, DR2 verification row, so approval waits on an owner decision: whether, under Reduce Motion on a touch screen, a dip may land its element's travel as one step at the instant the element is fully transparent, with the row failing only travel that has an in-between value or changes while the element shows. An engineering owner (or a design owner, for this design record) records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. Independently of that decision, the new sentence still calls the step "the element's travel", while spec:AST-094's FR7, FR8 verification row fails "any travel, scale or spring under Reduce Motion other than a coast after a throw and its settle at an edge"; rewording the permission so the step is not travel, or amending that row, lets the two current records agree.

[Automated review]

@vjeux
vjeux marked this pull request as draft October 30, 2026 03:37

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an owner decision: this pull request amends a current claim, design:reduced-motion DR2 and its DR1, DR2 verification row. The decision to settle is whether, under Reduce Motion on a touch screen, a dip may land its element's move as one step at the instant the element is fully transparent, with the row failing only a transform, size or position that has an in-between value or changes while the element shows. An engineering owner (or a design owner, for this design record) records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. Independently of that decision, one fix is needed:

  • The new DR2 sentence calls the step "the element's travel", while spec:AST-094's FR7, FR8 verification row still fails "any travel, scale or spring under Reduce Motion other than a coast after a throw and its settle at an edge", so a dip that uses this permission fails that row; reword the permission so the step is not travel (for example "such a step is not travel under DR1") or amend that row's exception.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the DR1, DR2 row today fails any animated transform, so a compositor landing is not allowed: verified against the record's current row.
  • Claim: DR2 keeps opacity only and 200 ms, and a dip may land its move as one step with no in-between value at full transparency: verified (docs/design/reduced-motion.md:72).
  • Claim: the row now fails a transform with an in-between value or one that changes while visible, instead of any animated transform: verified (docs/design/reduced-motion.md:141).
  • Claim: only the step inside a dip changes, and entrances, exits, DR3, DR4 and momentum are unchanged: verified for the rule text; the narrower row also covers entrance and exit states, where such a step is invisible, which is part of the owner decision.
  • Claim: no open pull request changes this record: verified against the other open pull requests that mention reduced motion; none changes the file.
  • Claim: a busy main thread runs the timer landing late, and the animator now shortens the fade back in: the shortening is verified in the shipped animator; the quoted measurements are not reproduced in the repository.
  • Claim: the two rejected alternatives fail as described: consistent with the shipped animator's documented timer behaviour.
  • Claim: the writing rubric finds nothing for R1 to R6: verified against the changed lines.
  • Claim: knowledge validation, Prettier and the whitespace check are clean: verified on the head.
  • Claim: the head merges the base branch and carries its DR2 colors row into the re-padded table: verified.
  • Claim: the pull request contains specification records only and no internal context: verified.
  • File docs/design/reduced-motion.md: one finding, the travel wording against the touch-presentations row; the permission and the row change wait on the owner decision.

Automated review (maintainer link)

This branch was successfully deployed

1 active deployment
Preview — 08702495 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. needs:spec-owner-review Current knowledge records await owner approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant