Repository navigation
Closed
flutter/packages
#12552Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listf: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.found in release: 3.13Found to occur in 3.13Found to occur in 3.13found in release: 3.14Found to occur in 3.14Found to occur in 3.14frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
- In a child Scaffold, add a right drawer and open it.
- Tap twice outside the drawer to dismiss it.
- Attempt iOS swipe to go back (doesn't work).
Expected results
Swipe to go back should still work after dismissing the drawer given any number of dismiss requests.
Actual results
Swipe to go back doesn't work.
Code sample
Code sample
class AppDrawer extends ConsumerWidget {
final Service currService;
final Hour currHour;
final void Function(int hourIdx, int index) jumpToWidget;
final void Function() closeDrawer;
final bool drawerBackButton;
const AppDrawer({
required this.currService,
required this.currHour,
required this.jumpToWidget,
required this.closeDrawer,
this.drawerBackButton = false,
});
@override
Widget build(BuildContext context, WidgetRef ref) {
var state = ref.read(contentViewBuildStateProvider);
final startIdx = state.startIdx;
return ClipRRect(
borderRadius: BorderRadius.horizontal(left: Radius.circular(15)),
child: Drawer(
width: useMobileLayout
? Theme.of(context).drawerTheme.width
: MediaQuery.of(context).size.width / 3,
child: SafeArea(
child: Column(Screenshots or Video
RPReplay_Final1693465907.mp4
Logs
No response
Flutter Doctor output
Doctor output
Flutter 3.13.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ff5b5b5fa6 (7 days ago) • 2023-08-24 08:12:28 -0500
Engine • revision b20183e040
Tools • Dart 3.1.0 • DevTools 2.25.0
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.5.1 22G90 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2022.3)
[!] Android Studio (version unknown)
✗ Unable to determine Android Studio version.
[✓] VS Code (version 1.81.1)
[✓] Connected device (1 available)
! Error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)
[✓] Network resources```
</details>Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listf: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.found in release: 3.13Found to occur in 3.13Found to occur in 3.13found in release: 3.14Found to occur in 3.14Found to occur in 3.14frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Activity
dam-ease commentedon Aug 31, 2023
Hi @pavlyhabashy. Thanks for filing this issue. I can't seem to reproduce this on my end using the code sample below.
Code Sample
Video
untitled.webm
Can you provide more info on this? You could also edit the code sample above to suit your reproduction case.
pavlyhabashy commentedon Sep 1, 2023
I was able to recreate with this code
Code sample
Output:
RPReplay_Final1693537290.MP4
dam-ease commentedon Sep 1, 2023
Hi @pavlyhabashy. Thanks for your response. I see you are reproducing on iOS this time. I tried reproducing both on Android and iOS but still can't seem to reproduce, are there any steps I might be missing out on?
Simulator.Screen.Recording.-.iPhone.14.-.2023-09-01.at.09.19.25.mp4
untitled.webm
pavlyhabashy commentedon Sep 5, 2023
IMG_0508.mp4
dam-ease commentedon Sep 5, 2023
Thanks for the video, can you share the device information you are reproducing this on so I could check with it as well.
pavlyhabashy commentedon Sep 5, 2023
iPhone 13 Pro on iOS 16. However, this bug is in one of our released apps on the App Store so we know it's happening on other devices including iPads as we've gotten complaints about it.
dam-ease commentedon Sep 5, 2023
Thanks for your patience @pavlyhabashy. I am able to reproduce this on a physical device (iPhone 13, iOS 16.6), but this issue doesn't reproduce on a simulator/emulator. Following the reproduction steps, I observed that sometimes after attempting the swipe to go back action a number of times, it works (as shown in the video below).
RPReplay_Final1693921668.MP4
stable, master flutter doctor -v
[-]Tapping outside of Android drawer twice to dismiss it breaks swipe to go back[/-][+]Tapping outside of drawer twice to dismiss it breaks swipe to go back[/+]10 remaining items
flutter-triage-bot commentedon Jan 31, 2024
This issue is assigned to @Hangyujin but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
flutter-triage-bot commentedon Apr 9, 2024
This issue was assigned to @Hangyujin but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.
HansMuller commentedon Apr 10, 2024
CC @MitchellGoodwin
[material_ui] Fix LocalHistoryEntry leak when double tapping Drawer s…
[material_ui] Fix LocalHistoryEntry leak when double tapping Drawer s…
github-actions commentedon Oct 6, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.