square / maker

Maker Design System by Square
https://square.github.io/maker/styleguide/latest-stable/
Other
63 stars 14 forks source link

Disallow swiping away on dialogs #565

Closed tatems closed 11 months ago

tatems commented 11 months ago

Feature request

Similar to how we can allow/disallow clicking outside/pressing esc to dismiss a dialog, add on option to disallow swiping away dialogs.

Why?

There are situations where user input is required to continue, and allowing this escape hatch by default can create headaches trying to handle the dismissed dialog.

Alternatives

No response

Additional context

No response

tatems commented 11 months ago

I'll be opening a pr to address.

github-actions[bot] commented 11 months ago

:tada: This issue has been resolved in version 19.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: