Skip to content

Material text selection menu overflow buttons should be full-width #72023

@justinmc

Description

@justinmc

Tapping in the empty space to the right of "Custom button 2" should hit the button. Currently, it has no effect.

Screen Shot 2020-12-09 at 1 59 45 PM

To fix this:

  1. Make the buttons full-width by setting the min and max width in their layout to the full width of the menu (code).
  2. Align the text in the button to the left or right depending on the text direction.

Currently, TextButton always centers its child and can't align to the left or right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-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