Skip to content

Text wiggles when stretching the scroll view on Android running Impeller #177492

@PutawanDE

Description

@PutawanDE

Steps to reproduce

  1. A scroll view contains many text items.
  2. On Android device, the user stretches the scroll view when they reach the top or the bottom.
  3. Text slight wiggles when stretched.

I found that it was only reproducible on Impeller.
Device: Samsung Galaxy A06 (SM A065F)
Android: 15

Expected results

Text should not wiggle from left and right. It should smoothly stretch.

Actual results

Text wiggles from left and right.

Code sample

Code sample
import 'package:flutter/material.dart';

class TextWiggleBugPage extends StatelessWidget {
  const TextWiggleBugPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Text Wiggle Bug Demo'),
      ),
      body: ListView.builder(
        itemCount: 50,
        itemBuilder: (context, index) {
          return ListTile(
            title: Text('Item $index'),
            subtitle: const Text(
              'This is a subtitle that might wiggle when scrolling. '
              'Let\'s see if it behaves correctly without any issues.',
            ),
          );
        },
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
text-scroll-bug.mp4

Logs

No response

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.35.4, on macOS 15.4 24E248 darwin-x64, locale en-TH) [761ms]
    • Flutter version 3.35.4 on channel stable at /Users/tanadoldeachprapakorn/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d693b4b9db (5 weeks ago), 2025-09-16 14:27:41 +0000
    • Engine revision c298091351
    • Dart version 3.9.2
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop,
      enable-android, enable-ios, cli-animations, enable-lldb-debugging

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [5.5s]
    • Android SDK at /Users/tanadoldeachprapakorn/Library/Android/sdk
    • Emulator version 35.2.10.0 (build_id 12414864) (CL:N/A)
    • Platform android-36, build-tools 35.0.0
    • ANDROID_HOME = /Users/tanadoldeachprapakorn/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915915-b509.11)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.1) [3.1s]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16B40
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [29ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2) [27ms]
    • 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 21.0.3+-79915915-b509.11)

[✓] VS Code (version 1.104.3) [22ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.120.0

[✓] Connected device (4 available) [9.5s]
    • SM A065F (mobile)  • R8YX91JW8XP                          • android-arm64  • Android 15 (API 35)
    • iPhone 15 (mobile) • 0F70456F-322D-4DBA-83C8-ECECA894273A • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 15.4 24E248 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 141.0.7390.108

[✓] Network resources [549ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions