Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Does not render card with empty ColumnSet #1998

Closed
an888ha opened this issue Oct 8, 2018 · 1 comment
Closed

[iOS] Does not render card with empty ColumnSet #1998

an888ha opened this issue Oct 8, 2018 · 1 comment

Comments

@an888ha
Copy link
Contributor

an888ha commented Oct 8, 2018

{
    "type": "AdaptiveCard",
    "version": "1.0",
    "body": [
             {
             "type": "ColumnSet",
             "columns": [
                         {
                         "type": "Column",
                         "width": "Auto",
                         "items": [
                                   {
                                   "type": "Image",
                                   "size": "medium",
                                   "url": "https://dummyimage.com/20x20/000/fff"
                                   }
                                   ]
                         },
                         {
                         "type": "Column",
                         "width": "Auto",
                         "items": [
                                   {
                                   "type": "TextBlock",
                                   "weight": "bolder",
                                   "text": "Matt's cafe"
                                   },
                                   {
                                   "type": "TextBlock",
                                   "weight": "bolder",
                                   "text": "Lunch served from 11am - 2pm",
                                   "spacing": "none",
                                   "separation": "none"
                                   }
                                   ]
                         }
                         ]
             },
             {
             "type": "ColumnSet",
             "columns": []
             },
             {
             "type": "TextBlock",
             "weight": "bolder",
             "text": "Item name 1",
             "spacing": "medium"
             },
             {
             "type": "TextBlock",
             "text": "Item description 1",
             "wrap": true
             }
             ],
    "actions": [
                {
                "type": "Action.Submit",
                "data": {
                "taskType": "viewMenuTask",
                "msteams": {
                "type": "task/fetch"
                }
                },
                "dataJson": "{\r\n  \"taskType\": \"viewMenuTask\",\r\n  \"msteams\": {\r\n    \"type\": \"task/fetch\"\r\n  }\r\n}",
                "title": "View full menu"
                },
                {
                "type": "Action.OpenUrl",
                "url": "https://www.bing.com/maps",
                "title": "Get directions"
                },
                {
                "type": "Action.OpenUrl",
                "url": "https://www.bing.com/maps",
                "title": "Order now"
                },
                {
                "type": "Action.Submit",
                "title": "Favorite"
                }
                ]
}
@khouzam
Copy link

khouzam commented Oct 8, 2018

This is not iOS specific. Android, UWP and iOS have the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants