Skip to content

Adaptive Card v1.6 renders inconsistently on Teams iOS mobile (Badge/Icon/Table/targetWidth) while Desktop render correctly #14498

Description

@ArunaEdirisinghe1

Steps to reproduce

  1. Send the following Adaptive Card as a bot/proactive message in Microsoft Teams:
    { "type": "AdaptiveCard", "version": "1.6", "body": [ { "type": "TextBlock", "text": "Contract update", "style": "heading" }, { "type": "Badge", "text": "Marked as signed", "appearance": "good" }, { "type": "Image", "url": "https://adaptivecards.io/content/cats/1.png", "size": "Small", "altText": "Active image" }, { "type": "Table", "columns": [ { "width": 1 }, { "width": 1 } ], "rows": [ { "type": "TableRow", "cells": [ { "type": "TableCell", "items": [ { "type": "TextBlock", "text": "Status" } ] }, { "type": "TableCell", "items": [ { "type": "TextBlock", "text": "Marked as signed" } ] } ] } ] }, { "type": "Container", "targetWidth": "AtMost:Narrow", "items": [ { "type": "TextBlock", "text": "Narrow layout block" } ] } ], "actions": [ { "type": "Action.OpenUrl", "title": "Open", "url": "https://example.com", "tooltip": "Open details" } ] }

  2. Open the same message on:
    Teams iOS mobile app
    Teams Android mobile app
    Teams Desktop/Web

  3. Compare rendering of:
    Badge text
    Table layout
    Heading/spacing
    Target Width behavior

Expected behavior

Adaptive Card rendering should be consistent across Teams clients.
iOS, Android mobile and desktop should render with equivalent behavior for supported features.

  1. On desktop, both “Marked as signed” and “Active” labels are displayed correctly. However, when checked on Apple iOS, “Marked as signed” is not shown fully, only “Marked” appears. This issue was not seen on Android.
  2. On desktop, the “Signed” label is also displayed correctly, and the text fits properly inside the label.
    But on Apple iOS, there is extra blank space on the right side inside the “Signed” label. This issue was not seen on Android.

Actual behavior

Teams iOS mobile shows inconsistent rendering compared to Teams Android/Desktop/Web.
Some elements/features in v1.6 cards do not render as expected on iOS (layout/text presentation differs).

  1. On desktop, both “Marked as signed” and “Active” labels are displayed correctly. However, when checked on Apple iOS, “Marked as signed” is not shown fully, only “Marked” appears. This issue was not seen on Android.
  2. On desktop, the “Signed” label is also displayed correctly, and the text fits properly inside the label.
    But on Apple iOS, there is extra blank space on the right side inside the “Signed” label. This issue was not seen on Android.
Image Image Image Image Image Image

Error details

Card schema version: 1.6
Features used: Badge, Icon, Table, targetWidth, tooltip, TextBlock.style
Platform comparison:

  • iOS
  • Android
  • Desktop/Web
  1. On desktop, both “Marked as signed” and “Active” labels are displayed correctly. However, when checked on Apple iOS, “Marked as signed” is not shown fully, only “Marked” appears. This issue was not seen on Android.
  2. On desktop, the “Signed” label is also displayed correctly, and the text fits properly inside the label.
    But on Apple iOS, there is extra blank space on the right side inside the “Signed” label. This issue was not seen on Android.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions