Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Teams chat Adaptive Cards cannot currently rely on Table.minWidth to create horizontal scrolling; redesign the card responsively and report the mismatch as a Teams renderer capability request.
Why minWidth is ignored
The documentation describes two related but distinct models:
- The core Adaptive Cards
Tableelement was introduced in schema 1.5. Its published properties includecolumns,rows, alignment, and grid settings, but notminWidth.^1^ -
minWidthis documented onTablein the newer@microsoft/teams.cardsSDK model. That API says it acceptsautoor a pixel value and produces a scrollbar when insufficient width is available.^2^ - The API documentation does not establish that this newer SDK property is implemented by the Adaptive Card 1.5/1.6 renderer used for bot or message-extension cards in Teams chats.
Teams’ host rules also explicitly state that Adaptive Cards must not display horizontal scrolling and advise against fixed-width layouts.^3^ The Teams Store validation rules repeat that horizontal scrolling in Adaptive Cards must not be present.^4^
Consequently, the Designer demonstrates the newer property’s defined behavior, but it does not prove that the Teams chat host enables that behavior. The identical results from the webhook and message extension are consistent with a host renderer limitation, rather than either delivery mechanism.
No supported card-version change, msteams.width setting, or larger minWidth value is documented as enabling this in Teams, so the variations already tested do not need to be repeated.
Supported layout options
Keep the chat card within the available width:
- Show fewer columns, retaining only the fields needed to identify or act on a row.
- Move secondary values below the primary value inside each row or represent each record as a vertically stacked container.
- Use weighted widths to prioritize important columns, while keeping
wrap: true. - Paginate long datasets with actions rather than placing the complete dataset in one card.
- Open a tab, dialog, or external application for a full data-grid experience when horizontal scrolling is essential.
For example, restructure each result as a narrow summary:
{
"type": "Container",
"separator": true,
"items": [
{
"type": "TextBlock",
"text": "Sample value 1",
"weight": "Bolder",
"wrap": true
},
{
"type": "FactSet",
"facts": [
{ "title": "Status", "value": "Active" },
{ "title": "Owner", "value": "Sample owner" }
]
}
]
}
Microsoft’s design guidance recommends designing for narrow screens first because narrow layouts scale to wider surfaces, while wide layouts do not reliably scale down. It also notes that available width varies by device and that mobile does not support horizontal scrolling in this scenario.^5^
msteams.width: "Full" can still improve desktop presentation, but it cannot make a fixed-width table portable to chat panes, meeting side panels, or mobile surfaces.
Report the renderer/API mismatch
This is suitable for a Teams developer issue because the Teams Cards SDK documents Table.minWidth, while Teams message cards do not implement the documented result.
- Search the Teams SDK repository for an existing
Table.minWidthissue. - If none exists, open a Teams SDK → Issues report through the official Teams developer feedback route.^6^
- Include:
- Teams desktop version and operating system.
- Delivery paths: Workflows webhook and action-based message extension.
- The minimal payload from the question.
- Designer result versus Teams result.
- Screenshots of both.
- Links to the core Table schema and Teams Cards SDK
minWidthdocumentation. - A request to clarify whether
minWidthis planned for Teams message-card renderers or limited to the newer Teams Cards SDK model.
Do not include tenant IDs, tokens, webhook URLs, or other credentials because repository issues are public. For a business-critical application, open a Microsoft 365 service request from Microsoft 365 admin center → Support; public GitHub issues have no guaranteed response time.^6^
References