Skip to content

DropdownMenuItems are fixed height #40773

Description

@HansMuller

Internal: b/140830819

The height of dropdown menu items is fixed at 48. This is big enough to show one or two lines of text using the default font or one line of text with the default font and the maximum text scale factor on Android devices.

Menu items whose intrinsic heights are > 48 do not fit. This example demos the limitation:
https://gist.github.com/HansMuller/7df11ac474609a759b616d8258443f29

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Sep 19, 2019
  2. self-assigned this
    on Sep 20, 2019
  3. HansMuller commented on Sep 20, 2019

    @HansMuller
    ContributorAuthor

    I have a fix for this. Writing tests today.

  4. added this to the October 2019 milestone on Sep 24, 2019
  5. Hixie commented on Sep 24, 2019

    @Hixie
    Contributor

    (guessed at milestone, feel free to update)

  6. jkurtw commented on Oct 7, 2019

    @jkurtw

    I think this should be re-opened, since #41120 was reverted and we are now waiting on #42033, instead.

  7. reopened this on Oct 7, 2019
  8. HansMuller commented on Oct 8, 2019

    @HansMuller
    ContributorAuthor

    #40773 (comment) Yes, thanks

  9. rajeshzmoke commented on Oct 18, 2019

    @rajeshzmoke

    @HansMuller @shihaohong any idea when this will be available in the "stable" channel

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

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

Metadata

Metadata

Assignees

Labels

customer: quill (g3)frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions