Skip to content

Advanced Autocomplete keyboard controls #85233

Closed

Description

@justinmc

The up/down keys were added in #83696 to allow navigation of Autocomplete options. However, there seem to be a few more keyboard shortcuts we could add. The web's select tag allows page up/down and ctrl + arrow (try it here). We should probably support the same.

It seems to me (on Mac Chrome) that page up/down and ctrl/option + up/down all jump to the beginning/end of the list, so no fancy concept of pages is necessary.

Activity

  1. added
    a: text inputEntering text in a text field or keyboard related problems
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jun 25, 2021
  2. NiranjanShah commented on Jul 2, 2021

    @NiranjanShah

    The up/key down arrow keys are also not working with Autocomplete. Executed app in macos Desktop & WEB Chrome browser.

    is it available in specific version or is it some understanding issue from my side ?

  3. justinmc commented on Jul 9, 2021

    @justinmc
    ContributorAuthor

    @NiranjanShah Make sure your version of Flutter has commit 3bb4a34, which was added June 2nd. If you're on the master channel then the arrows should definitely work.

  4. self-assigned this
    on Nov 26, 2024
  5. github-actions commented on Feb 6, 2025

    @github-actions

    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 -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: text inputEntering text in a text field or keyboard related problemsc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions