Skip to content

When there's no text in an input widget, the cursor is tiny and in the wrong place #302

Closed
@IvBaranov

Description

@IvBaranov

RenderEditableParagraph width looks as if it was:
'parent_width' + _kCursorGap + _kCursorWidth
but not textPainter.size.width + _kCursorGap + _kCursorWidth

EditableTextWidget becomes horizontally scrollable:
1

Line break looks like:
2

But comments say:
// Editable text does not support line wrap.
bool get allowLineWrap => false;

Metadata

Metadata

Assignees

Labels

a: text inputEntering text in a text field or keyboard related problemsframeworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions