Skip to content

spec(Dialog): React Native platform record - #12838

Draft
imdreamrunner wants to merge 10 commits into
chore/knowledge-react-native-platform-recordsfrom
spec/dialog-react-native-record
Draft

imdreamrunner wants to merge 10 commits into
chore/knowledge-react-native-platform-recordsfrom
spec/dialog-react-native-record

Conversation

@imdreamrunner

@imdreamrunner imdreamrunner commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #12592 (react-native records in the knowledge checks); merges after it.

Merge order: the record also cites the open group records spec:AST-128 (#12558, menus and presentation) and spec:AST-123 (#12557, surfaces and glass), and the AST-112 amendment (#12563) for FR16 and FR19. It merges after those too.

Exact decision needed

How React Native's Dialog and DialogHeader implement component:Dialog and module:Dialog/DialogHeader: which props they offer, the window an open dialog presents in, the panel's size, paint and motion, which platform paths close it for each purpose, the inline panel, and how screen readers see it.

Existing authority searched

  • component:Dialog (docs/specs/components/Dialog/Dialog.spec.md, current): the focus lifecycle, the inline panel, the dim and the surface's text colour; no React Native rendering.
  • module:Dialog/DialogHeader (current): the header row, the title block and the close button.
  • family:overlay-dismissal (current): how Escape, platform close requests and a dim tap rank across nested surfaces; component:Drawer FR15 (current): purpose matches Dialog's, and form ignores a scrim click.
  • spec:AST-082 (current): FR3–FR5 (core and platform contracts), FR7 (base props), FR11 (native-first) and DEC-2 (native-only visuals are theme configuration).
  • spec:AST-128 (open draft): the presentation host's over-full-screen kind, request-order stacking, the modal host and presented-window accessibility; its OQ5 asks whether Android presents dialogs through system hosts.
  • spec:AST-123 (open draft) FR7: the overlay paint (system glass where glass can paint, else opaque).
  • The open React Native records for TopNav (spec(TopNav): React Native platform record #12685) and TabBar (spec(TabBar): React Native platform record #12686), whose shape this record follows. No open pull request adds a Dialog React Native record.

Decision

docs/specs/components/Dialog/Dialog.react-native.spec.md (component:react-native/Dialog, platform_of: component:Dialog):

  • React Native's Dialog and DialogHeader keep web's props and meaning, padding included; width, maxHeight and position stay on the web, because the window sizes the panel (FR1, DEC-2).
  • An open dialog presents in a platform window above the app: on iOS the presentation host's over-full-screen presentation, stacked over sheets in request order (React Native's modal window where that host is absent); on Android, Material's dialog. A hidden dialog opens no window (FR3, DEC-1).
  • On iOS the standard panel is centred over the theme's dim, at the window's width less a gutter up to 400 and three quarters of the window's height, in system glass where glass can paint; fullscreen fills the window; standard fades and full-screen slides. On Android, Material's dialog draws the container, its size and its motion, and a fullscreen Dialog is Material's full-screen dialog. On both, the content is padded by padding, else the container inset; an iOS fullscreen panel with padding unset pads each edge by the larger of the inset and the safe area (FR4, FR5).
  • purpose decides which of a dim tap, Android back and the VoiceOver escape close the dialog; form ignores a dim tap, as component:Drawer FR15 states for Dialog's prop (FR6). The inline panel draws in place with no window, in the theme's surface colour, container radius and inset on both platforms (FR7).
  • React Native adds onDismissed, called once the window has left the screen, so the next surface opens after it (FR2, DEC-3).
  • The window moves screen-reader focus in, a required dialog keeps core's alert-dialog role, and focus returns as component:Dialog FR4 and AR2 state; the header's title is a level-2 heading and its close button is the default ghost icon button, named (AR1–AR3, FR8).
  • Each place where the library differs is a gap line under Current-state impact.

Rejected alternatives

None recorded in the record.

Claim scope and non-goals

The record covers only what React Native adds to component:Dialog and module:Dialog/DialogHeader or does differently. Dismissal ranking, the presentation and modal hosts and the overlay paint stay with family:overlay-dismissal, spec:AST-128 and spec:AST-123, which the record's ownership lines name.

Evidence and implementation relationship

The record is a specification only and has no implementation in this pull request. Each requirement was read against the current React Native implementation, and every place where that implementation differs is one of the record's gap lines.

Writing rubric results

  • R1 narration: none; the record is in the present tense and states what the component does.
  • R2 research in the record: none; each decision keeps a short reason.
  • R3 evidence naming a change: none; every basis cell names records and claims.
  • R4 rejected alternatives over one line or outside a decision: none; the record keeps no Rejected: lines.
  • R5 pull request or issue references remaining: none in the record.
  • R6 ruled open questions still listing options: none; Open questions reads "None."
  • R7 project status (build status or work order): differences from the implementation are stated as gap lines; "not yet released" appears only in the template's lifecycle field and readiness cell.

Scope

Components: Dialog, DialogHeader (React Native)

  • 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

  • node scripts/check-knowledge.mjs: knowledge templates and records are aligned; no finding in this record.
  • Prettier: --check clean on the record.
  • git diff --check: clean.

Follow-up: claims moved from spec:AST-112

Cites spec:AST-112 FR10 for web parity, where #13029 folds FR16.

@vercel

vercel Bot commented Nov 19, 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 19, 2026 11:47pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 19, 2026
@astracat-bot

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 19, 2026, 11:55 PM UTC

@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 draft record needs an engineering owner's decision, and five contradictions with current specs need fixes either way.

Its new requirements (FR1–FR8, AR1–AR3, DEC-1–DEC-3, which rest partly on the still-open AST-128, AST-123 and AST-112 records) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

Blocking:

  • FR6 lets a dim tap close a purpose="form" dialog until an input reports an edit, but core's form never closes on a backdrop press and AST-082 FR3 forbids a platform from changing a core prop's meaning, so form should close only on Android back and the escape.
  • FR3 requires React Native's modal window on Android while the record's own gap line says this breaks AST-082 FR11, so either state the Android window as FR11 requires and keep the gap line, or name Material's dialog and why it does not fit (AST-093 FR2).
  • DEC-2 drops padding, a portable spacing-step prop that Card keeps in its native props, so keep it under AST-082 FR3 and leave only width, maxHeight and position web-only.
  • AR1 always returns focus to the opener, but the current component:Dialog FR4 and AR2 return focus only when the close would strand it and otherwise follow AST-116's fallback chain, so follow or cite them.
  • FR8 makes the close button small, but module:Dialog/DialogHeader derives its edge compensation and title centring from the medium close action, so the row should name the default (medium) ghost icon button.

Also worth a look: system_specs should list AST-123 and AST-128 once they land, and FR6 could say whether a dim tap during the entrance fade is held, as AST-094 FR35 requires on the web.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim: stacked on the change that accepts React Native platform records, and merges after it. Verified: the base adds react-native to the accepted platform languages.
  • Claim: it also merges after the open menus-and-presentation, surfaces-and-glass and foundation-amendment records. Verified: none of them is on main or at this head, and the record cites them.
  • Claim: the Dialog, DialogHeader, overlay-dismissal and native-first records are current and were searched. Verified.
  • Claim: no other open pull request adds a Dialog React Native record. Verified: the open AlertDialog and Popover records are separate files.
  • Claim: React Native's Dialog and DialogHeader keep web's props and meaning. False: FR6 changes form, and DEC-2 drops padding.
  • Claim: the window, panel, motion, purpose paths, inline panel, onDismissed and screen-reader behavior are as the description lists them. Verified against the record text; findings above.
  • Claim: each requirement was read against the current React Native implementation, and each difference is a gap line. Could not be verified: that implementation is not in this repository.
  • Claim: the writing rubric R1–R7 finds nothing. Verified: no pull request references, no Rejected lines, Open questions reads "None.", and the knowledge check reports no temporary status in this record.
  • Claim: the knowledge check, Prettier and the whitespace check are clean, and the PR holds specification records only, with no internal context. Verified.
  • File docs/specs/components/Dialog/Dialog.react-native.spec.md: the five blocking findings and two notes above.

Automated review (maintainer link)

… on Android; focus return per core; default close button

@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 draft record still needs an engineering owner's decision, and one contradiction inside it needs a fix either way. The five contradictions from the last review are resolved.

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window and Android's use of Material's dialog) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking:

  • FR3 and the Platform controls paragraph hand Android's dialog to Material and draw the panel only on iOS, but FR4, the Design relationships Panel row and the verification map still require a theme-drawn panel of at most 400 dp over the theme's dim on every platform, so state what Material's dialog provides on Android and what the theme still draws inside it, or limit FR4 to iOS and state Android's container and size.

Non-blocking: add spec:AST-123 and spec:AST-128 to system_specs when they land, say whether a dim tap during the entrance is held (AST-094 FR35), and write maxHeight for "height" in the Builder impact and Review checks rows.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch holds that change).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and the foundation amendment: verified (FR3–FR5, AR1, AR3).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, Drawer FR15, native-first surfaces and the open drafts.
  • Claim: no other open pull request adds a Dialog React Native record: verified by a repository search.
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets, React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified (FR3, ORD1).
  • Claim: panel size, glass, fade and slide: verified (FR4, FR5); the Android panel conflicts with FR3 (the blocking finding).
  • Claim: purpose picks the closing paths and form ignores a dim tap; the inline panel draws in place: verified (FR6, FR7).
  • Claim: onDismissed fires once the window has gone: verified (FR2, DEC-3).
  • Claim: focus returns as core states, the title is a level-2 heading and the close button is the default ghost icon button: verified (AR1, AR3, FR8).
  • Claim: every difference from the React Native library is a gap line: not verifiable here, since that library is not in this repository.
  • Claim: Prettier and whitespace checks are clean: verified; the knowledge check was not rerun.
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: one blocking finding (the Android panel) and three non-blocking notes.

Automated review (maintainer link)

@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 draft record still needs an engineering owner's decision, and three findings need fixes either way. The earlier Android panel finding is resolved in FR4, FR5, the Panel row and the verification map.

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window and Android's use of Material's dialog) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking:

  • Miss: AR1 gives every dialog the plain dialog role, but core renders a required Dialog as an alert dialog (role="alertdialog"), so state how a required dialog keeps that role on each platform, or record the difference as a gap line.
  • Miss: the Representative states rows for content taller than three quarters of the window and for fullscreen still require iOS's scroll threshold and slide on Android, where FR4 and FR5 now give Material's container and motion, so mark them iOS or add Android rows.
  • The description's Decision bullet for the panel and its motion (FR4, FR5) still describes iOS's panel for every platform, so add "on iOS" and Android's Material's dialog line.

Non-blocking: say which theme values Android reads (the Behavior row and the Theme values paragraph still name the theme's dim, shadow and gutter for both platforms), name the Android native piece that presents Material's dialog, add the two open group records to system_specs when they land, say whether a dim tap during the entrance is held, and write maxHeight for "height" in the Builder impact and Review checks rows.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch holds that change, still open).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and the foundation amendment, and merges after them: verified (FR3–FR5, AR1 and AR3 cite them; all three are open).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, the Drawer purpose clause, native-first surfaces and the two open group records.
  • Claim: no other open pull request adds a Dialog React Native record: verified by a repository search.
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets with React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified (FR3, ORD1).
  • Claim: the standard panel is centred over the theme's dim, up to 400 wide and three quarters tall, in glass on iOS 26 and later; standard fades and full-screen slides: false for Android, where FR4 and FR5 now give Material's container and motion (blocking finding).
  • Claim: purpose picks the closing paths and form ignores a dim tap; the inline panel draws in place: verified (FR6, FR7).
  • Claim: onDismissed is called once the window has gone: verified (FR2, DEC-3).
  • Claim: focus moves in and returns as core states, the title is a level-2 heading and the close button is the default ghost icon button: verified (AR1, AR3, FR8); AR1's role for a required dialog is a blocking finding.
  • Claim: every difference from the React Native library is a gap line: not verifiable here, since that library is not in this repository.
  • Claim: the writing rubric finds no narration, research, change references, rejected alternatives, open options or project status: verified; "not yet released" appears only in the template's readiness fields.
  • Claim: the knowledge check, Prettier and whitespace checks are clean: verified at this head.
  • Claim: the pull request contains specification records only: verified (one record file).
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: two blocking findings (AR1's role; the two Representative states rows) and four non-blocking notes.

Automated review (maintainer link)

@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 draft record still needs an engineering owner's decision, and one finding needs a fix either way; the three findings from the last review are resolved (AR1 keeps a required dialog's alert-dialog role, the Representative states rows are split by platform, and the description's panel bullet names iOS).

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window and Android's use of Material's dialog) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking:

  • Miss: DEC-2 still says the panel takes the window less the gutter, up to 400 and three quarters of the window's height, for every platform, while FR4 hands Android's width and position to Material's dialog, so start that sentence "On iOS" and say that Material's dialog sizes and places the Android container.

Non-blocking: say which theme values Android reads (the Behavior row and the Theme values paragraph), give the verification map's AR1 row a failure for a required dialog read as a plain dialog, name the Android native piece that presents Material's dialog, add the two open group records to system_specs when they land, and write maxHeight for "height" in the Builder impact and Review checks rows. The earlier note about a dim tap during the entrance is withdrawn, since that touch-presentation rule governs the web components only.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch holds that change, still open).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and the foundation amendment, and merges after them: verified (FR1, FR3–FR5, AR1 and AR3 cite them; all three are open).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, the Drawer purpose clause, native-first surfaces, and the two open group records, including the open question on Android system hosts.
  • Claim: the TopNav and TabBar React Native records are open, and no other open pull request adds a Dialog React Native record: verified by a repository search (the open AlertDialog record covers a different component).
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets in request order, React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified (FR3, ORD1).
  • Claim: on iOS the panel is centred over the dim, up to 400 wide and three quarters tall, in glass on iOS 26 and later, standard fades and full-screen slides; on Android Material's dialog draws the container, its size and its motion; content is padded by padding: verified (FR4, FR5); DEC-2 still states the iOS size for every platform (blocking finding).
  • Claim: purpose picks the closing paths and form ignores a dim tap, as the Drawer clause states; the inline panel draws in place: verified (FR6, FR7).
  • Claim: onDismissed is called once the window has gone: verified (FR2, DEC-3).
  • Claim: focus moves in, a required dialog keeps the alert-dialog role, focus returns as core states, the title is a level-2 heading and the close button is the default ghost icon button: verified (AR1–AR3, FR8).
  • Claim: every difference from the React Native library is a gap line, and each requirement was read against that library: not verifiable here, since that library is not in this repository.
  • Claim: the record keeps no rejected alternatives: verified.
  • Claim: the writing rubric finds no narration, research, change references, rejected alternatives, open options or project status: verified; "not yet released" appears only in the template's readiness fields.
  • Claim: the knowledge check, Prettier and whitespace checks are clean: verified at this head.
  • Claim: the pull request contains specification records only: verified (one record file).
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: one blocking finding (DEC-2) and five non-blocking notes.

Automated review (maintainer link)

@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 draft record still needs an engineering owner's decision; no finding blocks it at this head, and the last review's blocking finding is resolved (DEC-2 now gives the 400-wide, three-quarter-height panel to iOS and lets Material's dialog size and place the Android container).

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window and Android's use of Material's dialog) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Non-blocking:

  • Miss: the Design relationships Panel row ties the inline panel (FR7) to Material's dialog container on Android, which needs a window, so say what an inline panel draws on Android.
  • Say which theme values Android reads (the Behavior row and the Theme values paragraph), name the Android native piece that presents Material's dialog, write maxHeight for "height" in the Builder impact and Review checks rows, and add the two open group records to system_specs when they land.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch holds that change, still open).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and the foundation amendment, and merges after them: verified (FR1, FR3–FR6, AR1 and AR3 cite them; all three are open).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, the Drawer purpose clause, native-first surfaces, and the two open group records, including the open question on Android system hosts.
  • Claim: the TopNav and TabBar React Native records are open, and no other open pull request adds a Dialog React Native record: verified (both open; a title search finds only this pull request; the open AlertDialog record covers a different component).
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets in request order, React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified (FR3, ORD1).
  • Claim: on iOS the panel is centred over the dim, up to 400 wide and three quarters tall, in glass on iOS 26 and later, standard fades and full-screen slides; on Android Material's dialog draws the container, its size and its motion; content is padded by padding: verified (FR4, FR5, DEC-2).
  • Claim: purpose picks the closing paths and form ignores a dim tap, as the Drawer clause states; the inline panel draws in place: verified (FR6, FR7).
  • Claim: onDismissed is called once the window has gone: verified (FR2, DEC-3).
  • Claim: focus moves in, a required dialog keeps the alert-dialog role, focus returns as core states, the title is a level-2 heading and the close button is the default ghost icon button: verified (AR1–AR3, FR8).
  • Claim: every difference from the React Native library is a gap line, and each requirement was read against that library: not verifiable here, since that library is not in this repository.
  • Claim: the record covers only what React Native adds, and dismissal ranking, the presentation hosts and the overlay paint stay with their owners: verified (Ownership boundary).
  • Claim: the record keeps no rejected alternatives: verified.
  • Claim: the writing rubric finds no narration, research, change references, rejected alternatives, open options or project status: verified; "not yet released" appears only in the template's readiness fields.
  • Claim: the pull request contains specification records only and no internal context: verified (one record file).
  • Claim: the knowledge check, Prettier and whitespace checks are clean: verified at this head.
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: no blocking finding; five non-blocking notes.

Automated review (maintainer link)

Accessibility in the Apple Human Interface Guidelines; Dialogs and
Accessibility in Material 3 (`spec:AST-093` FR3).

Theme values read (`spec:AST-093` FR4): `color.overlay` for the dim,

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.

Non-blocking: FR4 gives Android Material's dim, elevation and width, with only the theme's surface colour and container radius reaching it, but this list reads as both platforms (color.overlay for the dim, shadow.high, the space.s4 gutter). Suggest naming which values each platform reads, and the same for the Behavior row's "over the theme's dim" (line 31).

@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 draft record still needs an engineering owner's decision, and one finding needs a fix either way; the last review's inline-panel note and the maxHeight wording are resolved.

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window, Android's use of Material's dialog and FR7's new inline-panel paint) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Needs a fix:

  • The Representative states row "iOS, Reduce Transparency on and off" (line 146) now requires glass on every iOS release, while FR4 (line 120) paints the opaque surface where glass cannot paint, so scope the row to where glass can paint or add the opaque fallback to its invariant.

Non-blocking:

  • Say which theme values Android reads (the Behavior row and the Theme values paragraph), make the Panel row's authority cell say the inline panel is theme-drawn on both platforms, add FR7's paint and padding (and core's inline shadow, or why it is dropped) to the FR7 verification row, name the Android native piece behind Material's dialog, and add the two open group records to system_specs when they land.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch holds that change, still open).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and the foundation amendment, and merges after them: verified (FR1, FR3–FR6, AR1 and AR3 cite them; all three are open).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, the Drawer purpose clause, native-first surfaces, and the two open group records, including the open question on Android system hosts.
  • Claim: the TopNav and TabBar React Native records are open, and no other open pull request adds a Dialog React Native record: verified (both open; a title search finds only this pull request).
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets in request order, React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified (FR3, ORD1).
  • Claim: on iOS the panel is centred over the dim, up to 400 wide and three quarters tall, in glass where glass can paint, standard fades and full-screen slides; on Android Material's dialog draws the container, its size and its motion; content is padded by padding: verified (FR4, FR5, DEC-2), though the Representative states row above disagrees with FR4 on older iOS.
  • Claim: purpose picks the closing paths and form ignores a dim tap, as the Drawer clause states; the inline panel draws in place in the theme's surface colour, container radius and inset on both platforms: verified (FR6, FR7).
  • Claim: onDismissed is called once the window has gone: verified (FR2, DEC-3).
  • Claim: focus moves in, a required dialog keeps the alert-dialog role, focus returns as core states, the title is a level-2 heading and the close button is the default ghost icon button: verified (AR1–AR3, FR8).
  • Claim: every difference from the React Native library is a gap line, and each requirement was read against that library: not verifiable here, since that library is not in this repository.
  • Claim: the record covers only what React Native adds, and dismissal ranking, the presentation hosts and the overlay paint stay with their owners: verified (Ownership boundary).
  • Claim: the record keeps no rejected alternatives: verified.
  • Claim: the writing rubric finds no narration, research, change references, rejected alternatives, open options or project status: verified; "not yet released" appears only in the template's readiness fields.
  • Claim: the pull request contains specification records only and no internal context: verified (one record file).
  • Claim: the knowledge check, Prettier and whitespace checks are clean: verified at this head.
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: one finding to fix (line 146); five non-blocking notes.

Automated review (maintainer link)

@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 draft record still needs an engineering owner's decision, and one finding needs a fix either way; the last review's Reduce Transparency finding and the Panel row's authority cell are resolved.

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window, Android's use of Material's dialog and FR7's inline-panel paint) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Needs a fix:

  • Miss: FR3 (line 119) keeps the iOS panel clear of the status bar and home indicator by the safe area, but FR4 (line 120) has a fullscreen panel fill the window and pads its content by the container inset alone, so a full-screen dialog's title can sit under the status bar; say that the full-screen surface fills the window and, with padding unset, pads each edge by the larger of the container inset and the safe area, as core's full-screen Dialog does, and add that to the iOS fullscreen row and the FR4 verification row.

Non-blocking:

  • Say which theme values Android reads (the Behavior row and the Theme values paragraph), say whether the inline panel keeps core's high shadow (FR7), name the Android native piece behind Material's dialog, and add the two open group records to system_specs when they land.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch holds that change, still open).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and the foundation amendment, and merges after them: verified (FR1, FR3–FR6, AR1 and AR3 cite them; all three are open, and the cited clauses exist at their heads).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, the Drawer purpose clause, native-first surfaces, and the two open group records, including the open question on Android system hosts.
  • Claim: the TopNav and TabBar React Native records are open, and no other open pull request adds a Dialog React Native record: verified (both open; a title search finds only this pull request).
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets in request order, React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified (FR3, ORD1).
  • Claim: on iOS the panel is centred over the dim, up to 400 wide and three quarters tall, in glass where glass can paint, fullscreen fills the window, standard fades and full-screen slides; on Android Material's dialog draws the container, its size and its motion; content is padded by padding, else the container inset: verified (FR4, FR5, DEC-2), with the full-screen safe-area finding above.
  • Claim: purpose picks the closing paths and form ignores a dim tap, as the Drawer clause states; the inline panel draws in place in the theme's surface colour, container radius and inset on both platforms: verified (FR6, FR7).
  • Claim: onDismissed is called once the window has gone: verified (FR2, DEC-3).
  • Claim: focus moves in, a required dialog keeps the alert-dialog role, focus returns as core states, the title is a level-2 heading and the close button is the default ghost icon button, named: verified (AR1–AR3, FR8).
  • Claim: every difference from the React Native library is a gap line, and each requirement was read against that library: not verifiable here, since that library is not in this repository.
  • Claim: the record covers only what React Native adds, and dismissal ranking, the presentation hosts and the overlay paint stay with their owners: verified (Ownership boundary).
  • Claim: the record keeps no rejected alternatives: verified.
  • Claim: the writing rubric finds no narration, research, change references, rejected alternatives, open options or project status: verified; "not yet released" appears only in the template's readiness fields.
  • Claim: the pull request contains specification records only and no internal context: verified (one record file).
  • Claim: the knowledge check, Prettier and whitespace checks are clean: verified at this head.
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: one finding to fix (lines 119–120); four non-blocking notes.

Automated review (maintainer link)

@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 draft record still needs an engineering owner's decision, and one finding needs a fix either way; the last review's full-screen finding is fixed for the content padding itself.

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window and its full-screen padding, Android's use of Material's dialog and FR7's inline-panel paint) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Needs a fix:

  • FR4 (line 122) now pads an iOS fullscreen panel by the larger of the container inset and the safe area, but its closing sentence still pads all content by the inset alone, its verification row (line 238) fails both paddings, and FR3 (line 121) still keeps that panel clear of the bars; carve the iOS full-screen panel out of the closing sentence and the verification row's padding check, qualify the title check, the fullscreen row and the "never" clause with "with padding unset", limit FR3's safe-area clause to the standard panel, and update the description's padding bullet to match.

Non-blocking:

  • Say whether Material's full-screen dialog keeps Android content clear of the system bars, say which theme values Android reads, say whether the inline panel keeps core's high shadow, name the Android native piece behind Material's dialog, and add the two open group records to system_specs when they land.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch is that change's head, still open).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and the foundation amendment, and merges after them: verified (all three are open, and the cited clauses exist at their heads).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, the Drawer purpose clause, native-first surfaces, and the two open group records, including the open question on Android system hosts.
  • Claim: the TopNav and TabBar React Native records are open, and no other open pull request adds a Dialog React Native record: verified (both open; a title search finds only this pull request).
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets in request order, React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified (FR3, ORD1).
  • Claim: on iOS the panel is centred over the dim, up to 400 wide and three quarters tall, in glass where glass can paint, fullscreen fills the window, standard fades and full-screen slides; on Android Material's dialog draws the container, its size and its motion: verified (FR4, FR5, DEC-2).
  • Claim: on both platforms the content is padded by padding, else the container inset: false for an iOS full-screen panel, which FR4 now pads by the larger of the inset and the safe area (part of the finding above).
  • Claim: purpose picks the closing paths and form ignores a dim tap, as the Drawer clause states; the inline panel draws in place in the theme's surface colour, container radius and inset on both platforms: verified (FR6, FR7).
  • Claim: onDismissed is called once the window has gone: verified (FR2, DEC-3).
  • Claim: focus moves in, a required dialog keeps the alert-dialog role, focus returns as core states, the title is a level-2 heading and the close button is the default ghost icon button, named: verified (AR1–AR3, FR8).
  • Claim: every difference from the React Native library is a gap line, and each requirement was read against that library: not verifiable here, since that library is not in this repository.
  • Claim: the record covers only what React Native adds, and dismissal ranking, the presentation hosts and the overlay paint stay with their owners: verified (Ownership boundary).
  • Claim: the record keeps no rejected alternatives: verified.
  • Claim: the writing rubric finds no narration, research, change references, rejected alternatives, open options or project status: verified; "not yet released" appears only in the template's readiness fields.
  • Claim: the pull request contains specification records only and no internal context: verified (one record file).
  • Claim: the knowledge check, Prettier and whitespace checks are clean: verified at this head.
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: one finding to fix (lines 121, 122, 238); five non-blocking notes.

Automated review (maintainer link)

@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 draft record still needs an engineering owner's decision; no finding blocks it at this head, and the last review's full-screen padding finding is fixed throughout FR3, FR4 and their checks.

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window and its full-screen padding, Android's use of Material's dialog and FR7's inline-panel paint) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Non-blocking, for any later edit:

  • Miss: FR4 has the iOS panel draw the theme's surface colour and also paint glass behind its content; say that the surface colour is the opaque paint's fill and a glass panel's fill is clear, or the glass never shows.
  • Say whether Material's full-screen dialog keeps Android content clear of the system bars (the FR4 verification row's title check reads as both platforms), say which theme values Android reads, say whether the inline panel keeps core's high shadow, name the Android native piece behind Material's dialog, and add the two open group records to system_specs when they land.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch is that change's head, still open).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and the foundation amendment, and merges after them: verified (all three are open, and the cited clauses exist at their heads).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, the Drawer purpose clause, native-first surfaces, and the two open group records, including the open question on Android system hosts.
  • Claim: the TopNav and TabBar React Native records are open, and no other open pull request adds a Dialog React Native record: verified (both open; a title search finds only this pull request).
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets in request order, React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified (FR3, ORD1).
  • Claim: on iOS the panel is centred over the dim, up to 400 wide and three quarters tall, in glass where glass can paint, fullscreen fills the window, standard fades and full-screen slides; on Android Material's dialog draws the container, its size and its motion: verified (FR4, FR5, DEC-2).
  • Claim: on both platforms the content is padded by padding, else the container inset, and an iOS full-screen panel with padding unset pads each edge by the larger of the inset and the safe area: verified (FR4, the fullscreen row and the FR4 verification row now agree).
  • Claim: purpose picks the closing paths and form ignores a dim tap, as the Drawer clause states; the inline panel draws in place in the theme's surface colour, container radius and inset on both platforms: verified (FR6, FR7).
  • Claim: onDismissed is called once the window has gone: verified (FR2, DEC-3).
  • Claim: focus moves in, a required dialog keeps the alert-dialog role, focus returns as core states, the title is a level-2 heading and the close button is the default ghost icon button, named: verified (AR1–AR3, FR8).
  • Claim: every difference from the React Native library is a gap line, and each requirement was read against that library: not verifiable here, since that library is not in this repository.
  • Claim: the record covers only what React Native adds, and dismissal ranking, the presentation hosts and the overlay paint stay with their owners: verified (Ownership boundary).
  • Claim: the record keeps no rejected alternatives: verified.
  • Claim: the writing rubric finds no narration, research, change references, rejected alternatives, open options or project status: verified; "not yet released" appears only in the template's readiness fields.
  • Claim: the pull request contains specification records only and no internal context: verified (one record file).
  • Claim: the knowledge check, Prettier and whitespace checks are clean: verified at this head.
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: no blocking finding; six non-blocking notes.

Automated review (maintainer link)

| FR1 | The React Native `Dialog` MUST take web's `isOpen`, `onOpenChange`, `children`, `variant`, `purpose`, `isInline` and `padding` with web's names, types, defaults and meaning, and the shared base props on its container (`spec:AST-082` FR7). `onOpenChange` receives the new open state, and `padding` takes core's spacing steps. `width`, `maxHeight` and `position` are not offered (DEC-2). `DialogHeader` MUST take core's `title`, `subtitle`, `onOpenChange`, `startContent`, `endContent`, `endContentEdgeCompensation` and `hasDivider` with core's meaning. Neither takes a visual prop. | `component:Dialog`; `module:Dialog/DialogHeader`; `spec:AST-082` FR3–FR5, FR7, DEC-2; `spec:AST-112` FR16; DEC-2 | settled |
| FR2 | React Native adds `onDismissed`, called once each time the dialog's window has fully left the screen, whatever closed it: its own controls, the dim, back or the escape, or `isOpen` set to false. It is not called when the Dialog unmounts or while it is hidden. Unset, it changes nothing. | DEC-3 | settled |
| FR3 | An open, modal Dialog MUST present in a platform window above the app. On iOS it is the presentation host's over-full-screen presentation, which covers the status bar and the home indicator, keeps the standard panel clear of them by the safe area, and comes up over every surface already presented, sheets included, in the order the surfaces were asked for; where that host is absent, it is React Native's modal window. On Android, Dialog presents as Material's dialog (`spec:AST-082` FR11). With `isHidden`, the Dialog opens no window and draws nothing, so no empty window takes touches from the app. | `spec:AST-128` FR5, FR8, FR11; `spec:AST-082` FR11; `spec:AST-093` FR2; DEC-1 | verify |
| FR4 | On iOS, the standard panel MUST be centred over the theme's overlay dim with no blur, as wide as the window less a `space.s4` gutter on each side and at most core's default width (400 points or dp), and at most three quarters of the window's height; its body scrolls when its content is taller. It draws the theme's surface colour, container radius and high shadow, pads its content by `padding`, else by the theme's container inset (`space.s4`), and paints as `spec:AST-123` FR7 chooses for an overlay: system glass behind the content where glass can paint, otherwise the opaque surface. A `fullscreen` panel fills the window with the opaque surface, square, with no dim, and pads its content by `padding`, else on each edge by the larger of the theme's container inset and the safe area, so with `padding` unset its title never sits under the status bar or the home indicator, as core's full-screen Dialog does. On Android, Material's dialog draws the container: its dim, its surface, shape and elevation, its width and its position, with the theme's surface colour and container radius reaching it; a `fullscreen` Dialog is Material's full-screen dialog. On both platforms the dialog's content is padded by `padding`, else by the theme's container inset, or on an iOS `fullscreen` panel by the larger of that inset and the safe area, and scrolls when it is taller than the container, and text in it that sets no colour takes the primary text colour. | `component:Dialog` FR9, FR10; `spec:AST-123` FR7; `spec:AST-093` FR4; DEC-1, DEC-2 | verify |

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.

Non-blocking (miss): this row has the iOS standard panel draw "the theme's surface colour" and also paint "system glass behind the content where glass can paint". spec:AST-123 FR7 gives a glass overlay a clear fill, so a build that fills the panel with the surface colour shows no glass, and the verification row (line 238) does not fail that. Suggest: "…draws the theme's container radius and high shadow, … and paints as spec:AST-123 FR7 chooses for an overlay: system glass behind the content with a clear fill where glass can paint, otherwise the opaque surface in the theme's surface colour."

| -------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------- |
| FR1, FR2 | Type tests of the exports against core's contracts; unit tests of `onDismissed` through the package's testing doubles | each prop; each web-only prop refused; each `padding` step; a close by each path; an unmount while open; `isHidden` | a missing core prop, an accepted web-only prop, `onDismissed` before the window has gone, twice for one close, or on unmount fails | `audit:react-native/Dialog/api` |
| FR3, PR1 | Simulator and emulator checks of stacking; unit tests of the window choice | a dialog over a sheet; two dialogs in one update; the host absent; Android; `isHidden` while open | a dialog under a sheet, a refused presentation, a drawn window where Material's dialog is due, or a window while hidden fails | `audit:react-native/Dialog/window` |
| FR4 | Simulator and emulator captures in light and dark, portrait and landscape; iOS with and without Reduce Transparency | standard and `fullscreen`; short and tall content; a phone and a tablet; `padding` set and unset; a `fullscreen` panel on a phone with a notch and in landscape | on iOS a panel wider than 400 or than the window less the gutter or taller than three quarters of the window, on Android a container other than Material's dialog, padding other than FR4's, glass with Reduce Transparency on, or a dim under `fullscreen` fails; with `padding` unset, a `fullscreen` title under the status bar, or content padded by both the inset and the safe area, fails | `audit:react-native/Dialog/panel` |

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.

Non-blocking: "with padding unset, a fullscreen title under the status bar … fails" reads as both platforms, while FR4 pads Android's full-screen content by the container inset alone and leaves the bars to Material's full-screen dialog. If that dialog draws under the system bars (edge to edge), a build that follows FR4 fails this check. Say whether Material's full-screen dialog keeps its content clear of the bars, or limit the title check to iOS.

@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 draft record still needs an engineering owner's decision, and one finding needs a fix either way.

Its new requirements (FR1–FR8, AR1–AR3, ORD1–ORD3, PR1 and DEC-1–DEC-3, including onDismissed, the iOS presentation window, Android's use of Material's dialog and FR7's inline-panel paint) wait on an engineering owner approving them by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. That decision also settles a conflict between two drafts: FR3, ORD1 and the Native pieces table keep React Native's modal window as the iOS window where the presentation host is absent, which spec:AST-128 FR11 allows but spec:AST-112 FR4 on main now rules out ("the library has no React Native Modal path on iOS").

Needs a fix either way:

  • The description's merge-order line says the record cites the AST-112 amendment for FR16, but the record cites spec:AST-112 FR5, FR10 and FR19 (lines 36 and 119) and that amendment has merged, so update the line.

Non-blocking, for any later edit:

  • FR4 has the iOS panel draw the theme's surface colour and also paint glass behind its content; say that the surface colour is the opaque paint's fill and a glass panel's fill is clear, or the glass never shows.
  • Say whether Material's full-screen dialog keeps Android content clear of the system bars (the FR4 verification row's title check reads as both platforms), say which theme values Android reads, say whether the inline panel keeps core's high shadow, name the Android native piece behind Material's dialog, and add the two open group records to system_specs when they land.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record sits on the change that accepts React Native platform records and merges after it: verified (the base branch is that change's head, still open).
  • Claim: it cites the open menus-and-presentation and surfaces-and-glass records and merges after them: verified (both are open, and the cited clauses exist at their heads).
  • Claim: it cites the foundation amendment for FR16 and FR19: false (the record cites the foundation record's FR5, FR10 and FR19, never FR16, and the amendment has merged).
  • Claim: the existing authority listed is current or open as described: verified for core Dialog, DialogHeader, overlay dismissal, the Drawer purpose clause, native-first surfaces, and the two open group records, including the open question on Android system hosts.
  • Claim: the TopNav and TabBar React Native records are open, and no other open pull request adds a Dialog React Native record: verified (both open; a title search finds only this pull request).
  • Claim: web's props and meaning are kept, padding included, with width, maxHeight and position web-only: verified (FR1, DEC-2).
  • Claim: the iOS presentation host over sheets in request order, React Native's modal window as its fallback, Material's dialog on Android, and no window while hidden: verified as written (FR3, ORD1); the fallback is part of the owner decision above.
  • Claim: on iOS the panel is centred over the dim, up to 400 wide and three quarters tall, in glass where glass can paint, fullscreen fills the window, standard fades and full-screen slides; on Android Material's dialog draws the container, its size and its motion: verified (FR4, FR5, DEC-2).
  • Claim: content is padded by padding, else the container inset, and an iOS full-screen panel with padding unset pads each edge by the larger of the inset and the safe area: verified (FR4, the fullscreen row and the FR4 verification row agree).
  • Claim: purpose picks the closing paths and form ignores a dim tap, as the Drawer clause states; the inline panel draws in place in the theme's surface colour, container radius and inset on both platforms: verified (FR6, FR7).
  • Claim: onDismissed is called once the window has gone: verified (FR2, DEC-3).
  • Claim: focus moves in, a required dialog keeps the alert-dialog role, focus returns as core states, the title is a level-2 heading and the close button is the default ghost icon button, named: verified (AR1–AR3, FR8).
  • Claim: every difference from the React Native library is a gap line, and each requirement was read against that library: not verifiable here, since that library is not in this repository.
  • Claim: the record covers only what React Native adds, and dismissal ranking, the presentation hosts and the overlay paint stay with their owners: verified (Ownership boundary).
  • Claim: the record keeps no rejected alternatives, and the writing rubric finds no narration, research, change references, open options or project status: verified; "not yet released" appears only in the template's readiness fields.
  • Claim: the pull request contains specification records only and no internal context: verified (one record file).
  • Claim: the knowledge check, Prettier and whitespace checks are clean: verified at this head.
  • Claim: the record cites the foundation record's FR10 for web parity, where an open restructure folds FR16 into it: verified (FR10 keeps core's names and contracts today, and the open restructure moves FR16's text into FR10).
  • File: docs/specs/components/Dialog/Dialog.react-native.spec.md: one finding to fix (the description's merge-order line), one owner decision, six non-blocking notes.

Automated review (maintainer link)

| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | ------------------ |
| FR1 | The React Native `Dialog` MUST take web's `isOpen`, `onOpenChange`, `children`, `variant`, `purpose`, `isInline` and `padding` with web's names, types, defaults and meaning, and the shared base props on its container (`spec:AST-082` FR7). `onOpenChange` receives the new open state, and `padding` takes core's spacing steps. `width`, `maxHeight` and `position` are not offered (DEC-2). `DialogHeader` MUST take core's `title`, `subtitle`, `onOpenChange`, `startContent`, `endContent`, `endContentEdgeCompensation` and `hasDivider` with core's meaning. Neither takes a visual prop. | `component:Dialog`; `module:Dialog/DialogHeader`; `spec:AST-082` FR3–FR5, FR7, DEC-2; `spec:AST-112` FR10; DEC-2 | settled |
| FR2 | React Native adds `onDismissed`, called once each time the dialog's window has fully left the screen, whatever closed it: its own controls, the dim, back or the escape, or `isOpen` set to false. It is not called when the Dialog unmounts or while it is hidden. Unset, it changes nothing. | DEC-3 | settled |
| FR3 | An open, modal Dialog MUST present in a platform window above the app. On iOS it is the presentation host's over-full-screen presentation, which covers the status bar and the home indicator, keeps the standard panel clear of them by the safe area, and comes up over every surface already presented, sheets included, in the order the surfaces were asked for; where that host is absent, it is React Native's modal window. On Android, Dialog presents as Material's dialog (`spec:AST-082` FR11). With `isHidden`, the Dialog opens no window and draws nothing, so no empty window takes touches from the app. | `spec:AST-128` FR5, FR8, FR11; `spec:AST-082` FR11; `spec:AST-093` FR2; DEC-1 | verify |

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.

Regression: this row (with ORD1 at line 153 and the Native pieces row at line 215) presents an iOS dialog in React Native's modal window where the presentation host is absent, as spec:AST-128 FR11 allows. spec:AST-112 FR4 on main now says "On iOS, the library's modal surfaces present only through the presentation host; the library has no React Native Modal path on iOS" and lists that fallback as a gap. Both are drafts, so this is part of the owner decision; if AST-112 FR4 stands, drop the fallback here, in ORD1, in the Native pieces table and in the FR3 verification row's "the host absent" state (line 237).

This branch was successfully deployed

1 active deployment
Preview — e5d6dd2c Deployed Nov 19, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant