Skip to content

Add continuous swipe to CupertinoContextMenu #117936

@manuthebyte

Description

@manuthebyte

As I described in #117698, to make the CupertinoContextMenu feel like 100% native, there is one major function that's missing. In iOS, if you leave your finger on some object with a ContextMenu, you can swipe through the options. But since we don't have an onHover function on Mobile in Flutter, it isn't that easy (I think).

The problem is that the original onTap is being cancelled because the DecoyChild is being created. So maybe if we can pass the event on, this would work.

Example of what I mean:
Here I am leaving my finger on the blue square and can now swipe through the options and when I let go on one, it gets selected.

RPReplay_Final1672786126.MP4

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms betterc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: cupertinoflutter/packages/flutter/cupertino repositoryframeworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specificallyteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions