Repository: flutter
Issue: Android Firefox, SingleChildScrollView create white space on top of page when scrolling up
Labels: e: device-specific,platform-android,framework,f: scrolling,platform-web,browser: firefox,P3,team-framework,triaged-framework

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. On Android Firefox, go to : https://j-siu.github.io/app/flutter_scroll/#/
2. Scroll up and down

**Expected results:** <!-- what did you want to see? -->

On Firefox, page should scroll up and down just like other web page.

**Actual results:** <!-- what did you see? -->

On Firefox, when scroll up, a white section will show very briefly on top. This only happen with Flutter page.

<details>
<summary>Minimum to show issue</summary>

- Issue show even with appbar, see video at bottom
- I changed the bg color to make it more visible

repo: https://github.com/J-Siu/flutter_scroll

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    Widget text = const Text(
      'text',
      style: TextStyle(backgroundColor: Colors.black, color: Colors.white),
    );
    List<Widget> children = [];
    for (int i = 0; i < 100; i++) {
      children.add(text);
    }
    return MaterialApp(
      title: 'Scroll',
      home: Scrollbar(
        child: SingleChildScrollView(
          child: ColoredBox(
            color: Colors.black,
            child: Center(child: Column(children: children)),
          ),
        ),
      ),
    );
  }
}
```

</details>

<details>
  <summary>Logs</summary>

  - This is not useful as it only show in mobile. Not seeing issue on desktop Firefox.

[flutter_scroll.log](https://github.com/flutter/flutter/files/9331859/flutter_scroll.log)


```
Analyzing flutter_scroll...
No issues found! (ran in 8.7s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
$ flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5 21G72 darwin-x64, locale en-CA)
    • Flutter version 3.0.5 at /usr/local/Caskroom/flutter/3.0.1/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (4 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/js/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Users/js/Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.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 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.1)
    • VS Code at /Users/js/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 104.0.5112.79

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```

</details>


https://user-images.githubusercontent.com/3171920/184503556-64c91ab5-29fe-4f80-89c7-71483ad975df.mp4