Using word-wrap in Adaptive Cards ActionSet and markdown list

Viewed 435

I've been having issue with word-wrap property when using ActionSet with mark down list.

For some reason when I'm including a markdown list in the "ShowCard" the text get the wrap property but the binderies seems to be shifter to the right.

screenshot that demonstrate this issue:

enter image description here

When viewing in in dev mode (marking the component edge):

enter image description here

This works as expected without the bullets(list), but I need this design to work with bullets

The original card JSON:

{
    "contentType": "application/vnd.microsoft.card.adaptive",
    "content": {
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "type": "AdaptiveCard",
        "version": "1.2",
        "body": [
            {
                "type": "TextBlock",
                "size": "Large",
                "weight": "Bolder",
                "text": "Emergency Ambulance"
            },
            {
                "type": "TextBlock",
                "size": "Medium",
                "weight": "Bolder",
                "text": "Care Instructions:"
            },
            {
                "type": "ActionSet",
                "actions": [
                    {
                        "type": "Action.ShowCard",
                        "title": "Call an Ambulance",
                        "card": {
                            "type": "AdaptiveCard",
                            "body": [
                                {
                                    "type": "TextBlock",
                                    "text": "- The is a very long text, one two three four five six seven eight nine ten, eleven twelve thirteen fourteen .\n\n- The is a very long text, one two three four five six seven eight nine ten, eleven twelve thirteen fourteen .\n\n- The is a very long text, one two three four five six seven eight nine ten, eleven twelve thirteen fourteen .\n\n",
                                    "wrap": true
                                }
                            ]
                        }
                    }
                ]
            }
        ]
    }
}

This seems to work as expected in "https://adaptivecards.io/designer/" :

enter image description here

but in Bot Framework Emulator and other web client it doesn't

1 Answers
Related