From df4bdc3a9432d51e0f495add86a5a1ee38d4f143 Mon Sep 17 00:00:00 2001 From: Michael-Hutchinson Date: Tue, 27 Aug 2024 23:17:01 +0100 Subject: [PATCH] chore: Update confirmation dialog wording The commit modifies the wording for the behavior of the confirmation dialog by removing the ability to close it by pressing the "Back" button. This ensures that the action is canceled and any changes are discarded only when the "Cancel" button is touched. --- docs/data/material/components/dialogs/dialogs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/components/dialogs/dialogs.md b/docs/data/material/components/dialogs/dialogs.md index 0a984a0c1e9c05..a3b9c82b8da4f1 100644 --- a/docs/data/material/components/dialogs/dialogs.md +++ b/docs/data/material/components/dialogs/dialogs.md @@ -113,7 +113,7 @@ function MyComponent() { Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching "OK". -Touching "Cancel" in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes the dialog. +Touching "Cancel" in a confirmation dialog, cancels the action, discards any changes, and closes the dialog. {{"demo": "ConfirmationDialog.js"}}