Skip to content

[iOS 13] Context Menus #34728

Closed
Closed

Description

@justinmc

See https://developer.apple.com/design/human-interface-guidelines/ios/controls/context-menus/

Similar to "peek and pop", which Flutter does not yet support, but doesn't use 3D touch.

context-menu

Activity

  1. added
    c: new featureNothing broken; request for a new capability
    platform-iosiOS applications specifically
    a: fidelityMatching the OEM platforms better
    p: cupertino_uicupertino_ui package in flutter/packages
    on Jun 19, 2019
  2. changed the title [-][iOS13] Context Menus[/-] [+][iOS 13] Context Menus[/+] on Jun 24, 2019
  3. justinmc commented on Jun 24, 2019

    @justinmc
    ContributorAuthor

    See this WWDC video around 39:00 for more.

  4. TLiu2121999 commented on Aug 1, 2019

    @TLiu2121999

    Hi @justinmc. I'm trying to implement this delegate method:
    - (void)tableView:(UITableView *)tableView willCommitMenuWithAnimator:(id<UIContextMenuInteractionCommitAnimating>);
    and I want to navigate to the next view (which is a view controller showing the currently selected image) after tapping that peeking view, just like the behavior in Photos on iOS13.

    However this method doesn't not have a indexPath, so I don't know how to let it know which is the current selected image.
    Do you know if there is any way to do it?

    Thanks!

  5. justinmc commented on Aug 1, 2019

    @justinmc
    ContributorAuthor

    @TLiu2121999 I don't fully follow, are you attempting to make an implementation of context menus in Flutter?

  6. justinmc commented on Aug 2, 2019

    @justinmc
    ContributorAuthor

    Some gifs in light and dark modes for reference.

  7. justinmc commented on Aug 13, 2019

    @justinmc
    ContributorAuthor

    A horizontal screenshot from the video.

    Screenshot from 2019-08-13 15-27-27

  8. YeungKC commented on Jun 25, 2020

    @YeungKC
    Member

    The current context menu will always move to the center between the screens, so it is difficult to use it in lists or other places.

    like:

  9. justinmc commented on Jun 25, 2020

    @justinmc
    ContributorAuthor

    @YeungKC Could you open a separate issue with reproduction steps?

  10. YeungKC commented on Jun 26, 2020

    @YeungKC
    Member
  11. github-actions commented on Aug 19, 2021

    @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.

  12. locked as resolved and limited conversation to collaborators on Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: fidelityMatching the OEM platforms betterc: new featureNothing broken; request for a new capabilityp: cupertino_uicupertino_ui package in flutter/packagesplatform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions