Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
FIX: Issue 399
#399

Note: this addresses the crash. Tap on status bar to dismiss still does not work.
  • Loading branch information
T-P-F committed Dec 29, 2024
commit fd10a9f51af00d56c7628e84ff09005d5994bfcc
1 change: 1 addition & 0 deletions modal_bottom_sheet/lib/src/bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ class ModalBottomSheetState extends State<ModalBottomSheet>
return StatusBarGestureDetector(
child: child,
onTap: (context) {
if (!_scrollController.hasClients) return;
_scrollController.animateTo(
0.0,
duration: const Duration(milliseconds: 1000),
Expand Down