Repository: flutter
Issue: showModalBottomSheet closes when dragging upwards to expand
Labels: framework,f: material design,f: scrolling,has reproducible steps,P2,has partial patch,team-design,triaged-design,found in release: 3.16,found in release: 3.17

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [x] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1. Open modal sheet
2. Drag sheet down near the bottom
3. Drag up fast and release the finger inside the area occupied by the bottom half of the extended sheet.

### Expected results

The sheet should expand after dragging it up.

### Actual results

The sheet closes.

### Code sample

<details><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          child: const Text('Open sheet'),
          onPressed: () => _showModalSheet(context),
        ),
      ),
    );
  }

  Future<dynamic> _showModalSheet(BuildContext context) {
    return showModalBottomSheet(
      isScrollControlled: true,
      context: context,
      builder: (context) {
        return SizedBox(
          height: MediaQuery.sizeOf(context).height * 0.8,
          child: const Padding(
            padding: EdgeInsets.all(24),
            child: Stack(
              children: [
                Text(
                    'Drag the sheet down and then drag it up fast. Releasing the sheet near the bottom, under half of the sheet height, should expand the sheet to full height. Instead, it closes the sheet.'),
                Center(
                  child: Text('Release finger under this | 0.5*height '),
                ),
              ],
            ),
          ),
        );
      },
    );
  }
}

```

</details>


### Screenshots or Video

<summary>Screenshots / Video demonstration</summary>


https://github.com/flutter/flutter/assets/114481466/16ca2071-f287-4c43-a437-3a3ea28fadd6




### Logs

_No response_

### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.16.0, on macOS darwin-arm64)
    • Flutter version 3.16.0 on channel stable at /Users/_/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (6 days ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/_/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = /Users/_/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.13.0

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device

[✓] Network resources
    • All expected network resources are available.
```

</details>