Repository navigation
ListView/ScrollView - Scrolling jumps to the bottom regardless of items on M1 iOS Simulator #79641
Copy link
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listcustomer: castawayengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.f: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.found in release: 2.0Found to occur in 2.0Found to occur in 2.0found in release: 2.1Found to occur in 2.1Found to occur in 2.1frameworkflutter/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 onplatform-host-armBuilding on an ARM-based platformBuilding on an ARM-based platformplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Flutter 2.0.3
iOS Simulator 14.4
M1 Macbook Pro
Whole app code below.
The view jumps to the bottom; provided a gif example.
Normal behavior on device. iOS 14.4

App Code (Very standard)
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
home: MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return ListView(
children: [
Container(color: Colors.red, height: 100),
Container(color: Colors.blue, height: 100),
Container(color: Colors.red, height: 100),
Container(color: Colors.blue, height: 100),
Container(color: Colors.red, height: 100),
Container(color: Colors.blue, height: 100),
Container(color: Colors.red, height: 100),
Container(color: Colors.blue, height: 100),
Container(color: Colors.red, height: 100),
Container(color: Colors.blue, height: 100),
Container(color: Colors.red, height: 100),
Container(color: Colors.blue, height: 100),
Container(color: Colors.red, height: 100),
Container(color: Colors.blue, height: 100),
Container(color: Colors.red, height: 100),
Container(color: Colors.blue, height: 100),
],
);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listcustomer: castawayengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.f: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.found in release: 2.0Found to occur in 2.0Found to occur in 2.0found in release: 2.1Found to occur in 2.1Found to occur in 2.1frameworkflutter/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 onplatform-host-armBuilding on an ARM-based platformBuilding on an ARM-based platformplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team

Activity
iapicca commentedon Apr 2, 2021
@OllyDixon
I cannot test it myself (I'm not a mac user)
does it happens with builder as well?
ollyde commentedon Apr 2, 2021
@iapicca it happens on all types of scrolling views. Even SingleChild with a Colum inside of it.
I tested Builder and SingleChild too. (I was trying to fix a bug for hours)
iapicca commentedon Apr 2, 2021
@OllyDixon
ballistic looks super weird on
webas wellnormal behavior on physical android device
tested with this code #79641 (comment)
ollyde commentedon Apr 2, 2021
@iapicca it's an insanly bad bug; are they even doing QA at Flutter Google? 😂
TahaTesser commentedon Apr 5, 2021
Hi @OllyDixon
Thanks for catching this. It looks like it only reproduces when running on the simulator on M1. I have tried the same code sample on simulator running intel macOS as well as on a physical device, it doesn't reproduce anywhere but the M1 simulator.
flutter doctor -v
[✓] Flutter (Channel stable, 2.0.4, on macOS 11.2.3 20D91 darwin-arm, locale en-GB) • Flutter version 2.0.4 at /Users/nevercode/Code/flutter_stable • Framework revision b1395592de (4 days ago), 2021-04-01 14:25:01 -0700 • Engine revision 2dce47073a • Dart version 2.12.2 [!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/nevercode/Library/Android/sdk • Platform android-30, build-tools 30.0.3 • Java binary at: /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.4, Build version 12D4e • CocoaPods version 1.10.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.1) • Android Studio at /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/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 1.8.0_242-release-1644-b3-6915495) [✓] VS Code (version 1.55.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.21.0 [✓] Connected device (4 available) • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS 14.4.2 • iPhone 11 (mobile) • 7099B239-8266-4F66-9901-A229EFE0F43D • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 11.2.3 20D91 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.114 ! Doctor found issues in 1 category.[✓] Flutter (Channel master, 2.1.0-13.0.pre.444, on macOS 11.2.3 20D91 darwin-arm, locale en-GB) • Flutter version 2.1.0-13.0.pre.444 at /Users/nevercode/Code/flutter_master • Framework revision 824b1ad3f8 (2 days ago), 2021-04-03 15:24:02 -0400 • Engine revision e393800c63 • Dart version 2.13.0 (build 2.13.0-196.0.dev) [!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/nevercode/Library/Android/sdk • Platform android-30, build-tools 30.0.3 • Java binary at: /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.4, Build version 12D4e • CocoaPods version 1.10.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.1) • Android Studio at /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/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 1.8.0_242-release-1644-b3-6915495) [✓] VS Code (version 1.55.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.21.0 [✓] Connected device (4 available) • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS 14.4.2 • iPhone 11 (mobile) • 7099B239-8266-4F66-9901-A229EFE0F43D • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 11.2.3 20D91 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.114 ! Doctor found issues in 1 category.[-]Critical bug : ListView | ScrollView - Scrolling jumps to the bottom reguardless of items.[/-][+]ListView/ScrollView - Scrolling jumps to the bottom reguardless of items on M1 iOS Simulator[/+]15 remaining items
github-actions commentedon Jul 30, 2021
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.admosity commentedon Jul 24, 2024
Thank you for reopening this issue! This is more so a developer experience annoyance, but would love to see this fixed ✨.
IMG_1100.mp4
Flutter doctor:
Device info:
jmagman commentedon Aug 20, 2024
I'm going to close this again as this is a bug in the iOS simulator, and it reproduces without Flutter if you have x64 code running on an arm Apple Silicon simulator.
If you're seeing this, you should try to identify which plugin has

arm64in the Excluded Architectures > Any iOS Simulator SDK build settingAnd then update to a version of that plugin that supports arm64 (for example, google_maps_flutter started supporting arm simulators in 2.6.0), or if none exists, work with the plugin author.
github-actions commentedon Sep 3, 2024
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.