-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/engine
#13207Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyWeb applications specifically
Milestone
Description
When using a multiline Text field, the underlying <textarea> is rendered correctly but the text inside it doesn't wrap properly. for this reason text selection is completely off and looks broken.
I found out that a good way to mitigate the issue is to remove the ..whiteSpace = 'pre' setting.
This doesn't entirely solve issues when the text overflows and needs to be scrolled, but at least works decently on an "average" scenario, until #32213 is fixed properly.
I'm wondering what was the rationale for the setting of the whiteSpace property. Perhaps it made sense when it was used just with one-liner <input> elements?
Metadata
Metadata
Assignees
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyWeb applications specifically