Skip to content

Cursor position lower than expected when TextField is empty #61715

@guidezpl

Description

@guidezpl

I discovered this issue while implementing cursor height. With large cursors, it becomes obvious that the cursor is abnormally positioned for empty TextFields, and 'jumps' after a character is entered.

running on macOS:
https://user-images.githubusercontent.com/6655696/103345325-67602680-4a91-11eb-9ae4-91bd1069ada6.mp4

Bottom uses a large cursor, top uses a very large cursor

cc: @justinmc @GaryQian

Related to #64072

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsf: cupertinoflutter/packages/flutter/cupertino repositoryf: material designflutter/packages/flutter/material repository.found in release: 1.21Found to occur in 1.21frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions