Skip to content

DS-059: Add a responsive Dialog-to-Drawer pattern #459

Description

@IbrahimIjai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions