Skip to content

Input should have some default padding #626

Closed

Description

@aghassemi

I think input should have some default padding (and/or a padding attribute). Currently placeholder and actual text are too close to the edges.

Workaround of developer adding the padding using a container is not great since that padding area won't respond to tap events for focus.

Activity

  1. added
    a: text inputEntering text in a text field or keyboard related problems
    on Nov 30, 2015
  2. abarth commented on Nov 30, 2015

    @abarth
    Contributor

    The padding is speced here:

    https://www.google.com/design/spec/components/text-fields.html#text-fields-single-line-text-field

    There's supposed to be 16px above and below the text. Currently we only have 8px.

  3. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 30, 2015
  4. self-assigned this
    on Dec 1, 2015
  5. added a commit that references this issue on Dec 1, 2015
    6067b30
  6. github-actions commented on Sep 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.

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

Metadata

Metadata

Assignees

Labels

a: text inputEntering text in a text field or keyboard related problemsframeworkflutter/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