Skip to content

TextBlock used for text in msteamsv2 receiver must have wrap: true to display the content correctly #4088

@Lddeiva

Description

@Lddeiva

TextBlock used for title in msteamsv2 receiver needs wrap: true to display the content correctly.

{
	Type:   "TextBlock",
	Text:   title,
	Weight: "Bolder",
	Size:   "Medium",
	Wrap:   true,
	Style:  "heading",
	Color:  color,
},
{
	Type: "TextBlock",
	Text: text,
},

Note: - The TextBlock used for title is using wrap: true already.

When there is a lengthy line, the title is displayed correctly but the text is not. So, please add wrap: true in text as well.

{
	Type:   "TextBlock",
	Text:   title,
	Weight: "Bolder",
	Size:   "Medium",
	Wrap:   true,
	Style:  "heading",
	Color:  color,
},
{
	Type: "TextBlock",
	Text: text,
	Wrap: true,
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions