简体   繁体   English

Microsoft Teams Android 应用程序中的自适应卡片文本溢出

[英]Adaptive Card text overflow in Microsoft Teams Android app

I have the following JSON code for my adaptive card:我的自适应卡有以下 JSON 代码:

{
  "type": "AdaptiveCard",
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.3",
  "body": [
    {
      "type": "Container",
      "items": [
        {
          "type": "TextBlock",
          "text": "Awesome! 👍",
          "wrap": true,
          "size": "large",
          "weight": "bolder"
        }
      ]
    },
    {
      "type": "TextBlock",
      "text": "Let's add some tags and notes to make it more memorable",
      "wrap": true
    },
    {
      "type": "Input.ChoiceSet",
      "choices": [
        {
          "title": "Work",
          "value": "1"
        },
        {
          "title": "Kids",
          "value": "2"
        }
      ],
      "id": "tags",
      "label": "What influences your current mood?",
      "style": "expanded",
      "isMultiSelect": true
    },
    {
      "type": "TextBlock",
      "text": "Any notes that you would like to add",
      "wrap": true
    },
    {
      "type": "Input.Text",
      "placeholder": "Write something...",
      "id": "notes",
      "isMultiline": true
    },
    {
      "type": "Input.Text",
      "value": "1",
      "id": "moodId",
      "isVisible": false
    }
  ],
  "actions": [
    {
      "type": "Action.Submit",
      "title": "Submit"
    }
  ]
}

But for some reason it doesn't care for the wrap attribute in Android (iOS is working ok).但出于某种原因,它并不关心 Android 中的wrap属性(iOS 工作正常)。 The MS Teams is refusing my submission because of the horizontal scrollbar, how can I solve this?由于水平滚动条,MS Teams 拒绝了我的提交,我该如何解决?

iOS IOS Android安卓
iOS应用 安卓应用

Update: Tested on:更新:测试:

  • Xiaomi Redmi Note 8小米红米 Note 8
  • Android version 11 rkq1.201004.002安卓版本11 rkq1.201004.002
  • Teams version 1416/1.0.0.2021163901/1022团队版本 1416/1.0.0.2021163901/1022

We have tried the adaptive card on teams android mobile client version 14/16/1.0.0.2021163901/1022(ring1) and android version is 11.but its working correct on it.我们已经在团队 android 移动客户端版本 14/16/1.0.0.2021163901/1022(ring1) 和 android 版本是 11 上尝试了自适应卡,但它的工作正常。 adaptive card on android安卓上的自适应卡

Could you please update the android version and android teams version and try again.您能否更新android版本和android团队版本,然后再试一次。

@joaquin - 错误已在内部修复,将在未来几天发布,但我们没有确切的预计到达时间可以分享。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 自适应卡未在 Teams 移动应用上呈现 - Adaptive card is not rendered on Teams mobile app 如何在适用于 iOS 和 Android 的 Outlook Mobile 应用程序中启用显示从 Microsoft Flow 发送的自定义自适应卡片? - How to enable showing a custom adaptive card sent from Microsoft Flow in Outlook Mobile app for iOS and Android? 自适应卡片中的人员选取器自适应元素在 Teams Android 应用中不起作用 - People Picker adaptive element in adaptive cards doesn't work in Teams Android app 如何创建自适应Android应用 - How to create an adaptive Android app Microsoft Teams - 如何从 Android Intent 启动 MS Teams - Microsoft Teams - How to launch MS Teams from Android Intent 如何调试 Android 上的 Microsoft Teams 自定义选项卡 - How to debug Microsoft Teams custom tab on Android 自适应卡中的项目数量是否有限制,以便它在 Android 的 Outlook Mobile 中呈现? - Is there a limit on the number of items in an Adaptive Card so that it renders in Outlook Mobile for Android? 如何在Android中的卡中添加溢出图标项 - How to add overflow icon items in a card in Android 有没有办法将 Microsoft Teams 应用程序集成到我们的自定义应用程序中? - Is there any way to Integrate Microsoft Teams App in our custom app? Android TextView中的文本溢出 - Text overflow in textview in android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM