Skip to content

ConfirmationDialog footer buttons overflow on small screens with long text #6172

Open
@tingx2wang

Description

@tingx2wang

Description:

When using ConfirmationDialog with buttons that have longer text, the buttons in the footer overflow and do not respond well to smaller screen sizes. The Primer team recommends that the component itself should handle this responsively by stacking the buttons when the space is too small.

See internal discussion: https://github.slack.com/archives/C01L618AEP9/p1748988539417999

Image

Steps to reproduce:

  1. Use ConfirmationDialog with buttons that have long text in the footer.
  2. View the dialog on a smaller screen or shrink the browser window.

Version:
v37.25.0

Browser:
Chrome

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreact

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions