Skip to content

Tapping appbar no longer scrolls to top #35050

@calvinmuller

Description

@calvinmuller

Steps to Reproduce

  1. scroll to bottom and attempt to tap that app bar
    Expected - scroll to top
    Current - nudda
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(title: 'Flutter Demo', home: ListViewPage());
  }
}

class ListViewPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        actions: [],
      ),
      body: ListView.builder(
        itemCount: 100,
        itemBuilder: (context, i) => Container(
          child: Text(i.toString()),
        ),
        primary: true,
      ),
    );
  }
}

Logs

Nothing

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.7.10-pre.11, on Mac OS X 10.14.4 18E226, locale en-ZA)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] iOS tools - develop for iOS devices
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.4)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.1.3)
[✓] Connected device (3 available)

• No issues found!

Metadata

Metadata

Assignees

Labels

c: regressionIt was better in the past than it is nowcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: solarisframeworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions