Skip to content

NestedScrollView extreme scroll jank with BouncingScrollPhysics #73864

@lukepighetti

Description

@lukepighetti

NestedScrollView with BouncingScrollPhysics (or running on iOS) exhibits considerable scroll jank with slight movements, including full height toggles.

https://gist.github.com/lukepighetti/36d228fda97b145c6648365f6bcc8d0e#file-nested_scroll_view-dart

Here's a video showing the jank from another project. https://www.youtube.com/watch?v=f5cQ-SHwYbs&feature=youtu.be

Expected results:

Smooth scrolling / no jank.

Actual results:

Jank.

Logs
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64,
    locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)
    ! Error: Luke's iPhone is not connected. Xcode will continue when Luke's
      iPhone is connected. (code -13)

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)f: scrollingViewports, list views, slivers, etc.found in release: 3.16Found to occur in 3.16found in release: 3.19Found to occur in 3.19frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions