This is a known issue in Flutter β see the GitHub issue here:
π flutter/flutter#177992
It happens on iPadOS 26.1 when showing a dialog, bottom sheet, or end drawer with barrierDismissible: true.
β Temporary workaround:
You can manually control the outside-tap behavior using a TapRegion and ignore taps that happen too quickly after opening the dialog.
Hereβs the workaround from the Flutter GitHub issue comments:
π flutter/flutter#177992 (comment)
final now = DateTime.now();
return showDialog(
context: context,
barrierDismissible: false,
builder: (BuildContext context) {
return TapRegion(
onTapOutside: (_) {
// Workaround for
if (DateTime.now().difference(now) < Duration(milliseconds: 500)) {
return;
}
if (Navigator.canPop(context)) {
Navigator.pop(context);
}
},
child: ... // your dialog content
);
},
);
This prevents the dialog or drawer from closing immediately due to an unintended outside tap event on iPadOS 26.1.