Skip to content

Commit c19d346

Browse files
committed
Fix text field vertical height issues.
1 parent 821f2ca commit c19d346

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/src/transformers/node_transformers/passive_text_field_transformer.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,9 @@ class _PassiveTextFieldWidgetState extends State<PassiveTextFieldWidget> {
257257
final double? width = widget.node.isHorizontalExpanded
258258
? null
259259
: widget.node.basicBoxLocal.width;
260-
// TODO: Make adaptive
261-
final double height = widget.node.basicBoxLocal.height;
260+
final double? height = widget.node.isVerticalExpanded
261+
? null
262+
: widget.node.basicBoxLocal.height;
262263

263264
field = SizedBox(
264265
width: width,

0 commit comments

Comments
 (0)