Skip to content

Scroll Down/Up not working with iOS Voice Control #80711

Description

@Wasmund1

b/226078425

When using Voice Control on iOS it is not possible to scroll a ListView by saying "scroll down" or "scroll up". When saying the commands the bubble with the info scroll down/up indicates that the command was received and understood. However no scrolling happens. When saying "swipe down" or "swipe up" the list is scrolling. Scrolling works fine with Android Voice Access.

Steps to reproduce :

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('scroll demo'),
      ),
      body: ListView(
        children: getList(),
      ),
    );
  }

  List<Widget> getList() {
    List<Widget> _list = [];
    for (int i = 0; i < 20; i++) {
      _list.add(DemoTile(i + 1));
    }
    return _list;
  }
}

class DemoTile extends StatelessWidget {
  final int number;
  DemoTile(this.number);
  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.all(36.0),
      child: TextButton(
        child: Text('This is Tile number $number'),
        onPressed: () {
          print('pressed : $number');
        },
      ),
    );
  }
}
Scroll_Demo.mov

Turn on Voice Control on iOS, verify that "Scroll down" and "Scroll up" are enabled in Settings/Accessibility/Voice Control/Customise Commands/Basic Gestures and try to say the commands "scroll down" or "scroll up".

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: money (g3)engineflutter/engine related. See also e: labels.found in release: 2.0Found to occur in 2.0found in release: 2.2Found to occur in 2.2frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions