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

[Rendering] Table element can't display on mobile #8853

Open
clowdrgn opened this issue Mar 14, 2024 · 0 comments
Open

[Rendering] Table element can't display on mobile #8853

clowdrgn opened this issue Mar 14, 2024 · 0 comments

Comments

@clowdrgn
Copy link

Target Platforms

iOS, Android

SDK Version

4.14.3

Application Name

Microsoft Teams on mobile

Problem Description

this json on desktop is show well, but on mobile, it's only show title, the table element is a whole blank

Screenshots

image image

Card JSON

{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.6",
    "body": [
        {
            "type": "TextBlock",
            "text": "测试Title",
            "size": "Large",
            "weight": "Bolder",
            "wrap": true
        },
        {
            "type": "Table",
            "gridStyle": "emphasis",
            "columns": [
                {
                    "width": 1
                },
                {
                    "width": 4
                }
            ],
            "rows": [
                {
                    "type": "TableRow",
                    "cells": [
                        {
                            "type": "TableCell",
                            "items": [
                                {
                                    "type": "TextBlock",
                                    "text": "等级",
                                    "wrap": true
                                }
                            ],
                            "style": "default"
                        },
                        {
                            "type": "TableCell",
                            "style": "accent",
                            "items": [
                                {
                                    "type": "TextBlock",
                                    "text": "重要",
                                    "color": "Attention",
                                    "wrap": true
                                }
                            ]
                        }
                    ]
                },
                
                {
                    "type": "TableRow",
                    "cells": [
                        {
                            "type": "TableCell",
                            "style": "accent",
                            "items": [
                                {
                                    "type": "TextBlock",
                                    "text": "触发时间",
                                    "wrap": true
                                }
                            ]
                        },
                        {
                            "type": "TableCell",
                            "style": "accent",
                            "items": [
                                {
                                    "type": "TextBlock",
                                    "text": "2024-03-13 10:29:03",
                                    "color": "Attention",
                                    "wrap": true
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "actions": [
        
        {
            "data": {
                "action": "testAlarmId"
            },
            "type": "Action.Submit",
            "title": "报警确认"
        }
    ]
}

Sample Code Language

No response

Sample Code

No response

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

1 participant