wrap the text in text editing. This was causing a missalingment issue in textarea. (flutter/engine#13207)

This commit is contained in:
Nurhan Turgut
2019-10-17 12:11:27 -07:00
committed by GitHub
parent c805fb2271
commit 89e3cc5400

View File

@@ -16,7 +16,7 @@ void _emptyCallback(dynamic _) {}
void _setStaticStyleAttributes(html.HtmlElement domElement) {
final html.CssStyleDeclaration elementStyle = domElement.style;
elementStyle
..whiteSpace = 'pre'
..whiteSpace = 'pre-wrap'
..alignContent = 'center'
..position = 'absolute'
..top = '0'