-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktopframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Steps to Reproduce
- Run scaffold code sample
flutter create --sample=material.Scaffold.drawer.1 ... - Open drawer
- Press Escape key on keyboard
Expected results: Drawer should dismiss as DismissAction is documented to close drawers along with dialogs and popup menus
Actual results: Drawer is not dismissed. The handler for the action installed by ModalRoute does not work here because it is only enabled for barrier dismissible UIs.
Separately, I think there should be a PopAction that works for all types of routes, and a DismissOrPopAction that combines the two (emulating the Android back button). Will file a separate bug for that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktopframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Type
Projects
Status
Done (PR merged)