Skip to content

CupertinoActionSheetAction: Add keyboard support (Ipad, IOS) #166398

Closed

Description

@fedorstepanovv

Steps to reproduce

  1. add showCupertinoModalPopup()
  2. Create a CupertinoActionSheet()
  3. Add a few CupertinoActionSheetAction to actions in CupertinoActionSheet
  4. Connect Apple's keyboard to Ipad (However i think even macbook's keyboard with simulator will suffice)
  5. Try to navigate between actions (pressing arrow keys)

Expected results

Native ios apps support this type of navigation. Typically users tap on an arrow key and then press enter to choose the needed action.

Actual results

Nothing happens

Code sample

Code sample

return await showCupertinoModalPopup(
    context: context,
    builder: (BuildContext context) => CupertinoActionSheet(
        title: Text('title'),
        actions: <Widget>[
          CupertinoActionSheetAction(
            child: Text('camera'),
            onPressed: () {
            },
          ),
          CupertinoActionSheetAction(
            child: Text('image'),
            onPressed: ()  {
            },
          ),
        ],
        cancelButton: CupertinoActionSheetAction(
          child: Text('cancel'),
          isDefaultAction: true,
          onPressed: () {
            Navigator.pop(context);
          },
        )),
  );

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Activity

  1. changed the title [-]CupertinoActionSheetAction: Add keyboard support (Ipad, IOS)[/-] [+]CupertinoActionSheet: Add keyboard support (Ipad, IOS)[/+] on Apr 2, 2025
  2. added
    in triagePresently being triaged by the triage team
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: cupertino_uicupertino_ui package in flutter/packages
    c: proposalA detailed proposal for a change to Flutter
    team-designOwned by Design Languages team
    and removed
    in triagePresently being triaged by the triage team
    on Apr 2, 2025
  3. darshankawar commented on Apr 2, 2025

    @darshankawar
    Member

    Related : #165977

  4. added
    P2Important issues not at the top of the work list
    triaged-designTriaged by Design Languages team
    on Apr 2, 2025
  5. O-Hannonen commented on Apr 13, 2025

    @O-Hannonen
    Contributor

    I'd be interested to work on this if someone could assign it to me!

    Same as in #165977, the issue is not CupertinoActionSheet but rather CupertinoActionSheetAction so issue title could be updated to match that.

  6. changed the title [-]CupertinoActionSheet: Add keyboard support (Ipad, IOS)[/-] [+]CupertinoActionSheetAction: Add keyboard support (Ipad, IOS)[/+] on Aug 19, 2025
  7. added
    r: fixedIssue is closed as already fixed in a newer version
    on Nov 12, 2025
  8. github-actions commented on Nov 26, 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.

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

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.p: cupertino_uicupertino_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionteam-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