Context
Centered dialogs are appropriate on desktop but can be cramped on mobile.
Transaction and wallet flows need one adaptive overlay API.
Scope
- Add a responsive composition that renders Dialog on desktop and Sheet/Drawer
presentation on small screens.
- Preserve one content API and consistent title/description semantics.
- Handle mobile safe areas, virtual keyboards, and scrollable content.
- Document the breakpoint and when adaptive presentation is appropriate.
Acceptance criteria
- Focus management and dismissal behavior remain consistent across modes.
- Mobile actions remain visible when the virtual keyboard opens.
- Long content scrolls inside the overlay without scrolling the page behind it.
- iOS safe-area insets are respected.
- Tests cover both presentation modes and accessible naming.
Out of scope
- Migrating all current dialogs.
- Gesture-driven swipe-to-dismiss.
Context
Centered dialogs are appropriate on desktop but can be cramped on mobile.
Transaction and wallet flows need one adaptive overlay API.
Scope
presentation on small screens.
Acceptance criteria
Out of scope