Repository navigation
spec(AST-094): FR15 exempts watchers from recognizer exclusivity (DEC-7) - #8517
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
The exact-head preview is not available yet. Generated by PR Enrichment workflow | View current CI run |
There was a problem hiding this comment.
This one-sentence FR15 amendment adds a rule that the current touch presentations spec does not state yet. DEC-7 only keeps a watcher alive when the browser takes the touch, so exempting watchers from recognizer exclusivity needs an engineering owner's decision before approval. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. Please make these three record fixes first, because a new commit needs a new approval:
- Scope "are never cancelled" to the arbitration (for example "a claiming winner never fails or cancels them"), because as written it also rules out ending a watcher on a system
touchcancelor when its presentation is disabled (FR24). - Write the arbitration case into DEC-7 or a new decision, because FR15 cites DEC-7 for a rule DEC-7 does not contain.
- Add a state with a watcher beside a claiming winner to the FR15–FR17 Verification row: the shipped gesture arena still fails such a watcher, and no row would catch it.
[Automated review]
| on the same event, the innermost element's recognizer MUST win. Watchers | ||
| are exempt from this exclusivity: they recognize alongside a claiming winner | ||
| and are never cancelled (DEC-7). |
There was a problem hiding this comment.
"are never cancelled" reaches further than DEC-7, which keeps a watcher alive only when the browser takes the touch. Read literally, it also forbids ending a watcher on a system touchcancel or when its touch presentation is disabled (FR24). Consider scoping it to the arbitration, for example: "…they recognize alongside a claiming winner, which never fails or cancels them (DEC-7)."
ab5a40a to
a37acc8
Compare
|
/approve-spec a37acc8 |
There was a problem hiding this comment.
An engineering owner approved this exact head, and the FR15 watcher exemption is now scoped to a claiming winner, written into DEC-7 and covered by the FR15–FR17 verification row, so nothing blocks it on the spec side. Before a component ships a watcher, the gesture arena's conflict check needs the matching exemption and the test that verification row names. Optionally, rename the description's ## Rubric block to ## Writing rubric results and use the R2, R3 and R5 names from docs/contributing/spec-writing.md.
[Automated review]
…atcher A watcher (a tab bar that minimizes while the page scrolls) never claims: its element gets only passive listeners and a scroll never waits for it; it prevents no other recognizer and none prevents it (spec:AST-094 FR15, which exempts watchers from exclusivity, meta#8517); it cancels no press or click under it; its direction restricts no scroll (touch-action left as is, FR20, DEC-7); and it follows a touch the browser takes for a scroll to the lift. Split out of meta#8336, which keeps the host's ownership changes. Co-authored-by: Christopher Chedeau <[email protected]>
…atcher A watcher (a tab bar that minimizes while the page scrolls) never claims: its element gets only passive listeners and a scroll never waits for it; it prevents no other recognizer and none prevents it (spec:AST-094 FR15, which exempts watchers from exclusivity, meta#8517); it cancels no press or click under it; its direction restricts no scroll (touch-action left as is, FR20, DEC-7); and it follows a touch the browser takes for a scroll to the lift. Split out of meta#8336, which keeps the host's ownership changes. Co-authored-by: Christopher Chedeau <[email protected]>
Summary
Record consistency with
spec:AST-094DEC-7 (decided by the owner, 2026-10-25: a watcher recognizer is passive and follows the scroll). FR15 says recognizers are exclusive by default, which as written would let a claiming recognizer cancel a watcher. This PR adds one sentence to FR15:DEC-7 gains the matching sentence (the owner's ruling that watchers are passive and are never cancelled by a claiming recognizer), and the FR15–FR17 verification row gains a watcher beside a claiming winner. A system
touchcanceland FR24's disabled presentation still end a watcher.Rubric (docs/contributing/spec-writing.md)