Skip to content

[Web] Text rendering incorrectly when inside a Row with an ImageIcon #56971

@esDotDev

Description

@esDotDev

We are seeing an issue in the latest master: v1.19.0-1

When a Image with an assigned color is in a row with some text, the Text is vertically displaced outside the row:
image

This code reproduces it:

Row(children: [Image.asset("assets/icons/icon-edit.png", color: Colors.black), Text("FOO")])

v1.19.0-0:
image

v1.19.0-1:
image

Notes:

  • Only occurs when Image is in Row, and has a color assigned
  • Only affects Text, other children in the row render fine

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions