Skip to content

Add custom option to context menu. #31412

Closed

Description

@NCPlayz

When you select a piece of text, it has a "more info" (the three dots) button where apps register options (like "translate to rot13") and I was wondering if this was possible with Flutter?

I couldn't quite key in what it would be called in the documentation.

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.
    c: new featureNothing broken; request for a new capability
    on Apr 22, 2019
  2. chunhtai commented on Aug 5, 2019

    @chunhtai
    Contributor

    @justinmc Do we have any plan for this feature?

  3. justinmc commented on Aug 5, 2019

    @justinmc
    Contributor

    No concrete plans for custom selection menu items yet. However, this issue shows that the current selection menu often overflows, so I was thinking of implementing the "three dots" overflow first.

    Also I ran into #30976, @dkwingsmt are you working on this?

  4. dkwingsmt commented on Aug 5, 2019

    @dkwingsmt
    Contributor

    @justinmc Unfortunately I've paused the investigation on context menu, with reason I've just added to that issue. I plan to come back and implement some critical feature in a non-extensible way, but it'll take quite some time.

  5. added
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    P3Issues that are less important to the Flutter project
    on Jun 3, 2020
  6. jamesblasco commented on Sep 27, 2020

    @jamesblasco
    Contributor

    Hello! I made some proposal that would include this feature.
    #36985 (comment)

  7. justinmc commented on Dec 15, 2020

    @justinmc
    Contributor

    This is now possible in the latest master for Android-style text selection menus. I have an example at https://github.com/justinmc/flutter-text-selection-menu-examples/blob/master/lib/custom_menu_page.dart.

    Still working on iOS.

  8. github-actions commented on Aug 7, 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.

  9. locked as resolved and limited conversation to collaborators on Aug 7, 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

    P3Issues that are less important to the Flutter projecta: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions