Commit 3e48f6b2 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(Chat/Message): force `height` attribute on completed event

parent 7a59aa64
......@@ -40,4 +40,9 @@ Item {
anchors.left: rectangle.right
}
// In some case the initial `implicitHeight`
// state is incorrect. This line is a workaround that forces
// the `height` attribute.
Component.onCompleted: height = text.contentHeight + text.padding * 2
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment