Adaptive cards full-width feature doesn't work.

green 76 Reputation points
2022-04-11T04:33:42.673+00:00

I'm using Teams :

  • 1.5.00.8070 (64 bit) on Windows.
  • Version not showed on Web.

Full-width feature doesn't work with a sample below.

https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format?tabs=adaptive-md%2Cconnector-html#sample-adaptive-card-with-full-width

{  
    "type": "AdaptiveCard",  
    "body": [{  
        "type": "Container",  
        "items": [{  
            "type": "TextBlock",  
            "text": "Digest card",  
            "size": "Large",  
            "weight": "Bolder"  
        }]  
    }],  
  
    "msteams": {  
        "width": "Full"  
    },  
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",  
    "version": "1.2"  
}  

Windows :
191675-image.png

Web :
191676-teams-full-web.png

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,886 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Keerthi Shankar Subramanian 6 Reputation points
    2022-12-07T10:07:13.96+00:00

    Hi,

    The full width issue seems to be occuring again. Could anyone check on this.

    Thanks,
    Keerthi
    268114-screenshot-2022-12-07-at-110630.png

    1 person found this answer helpful.

  2. Prasad-MSFT 5,701 Reputation points Microsoft Vendor
    2022-04-11T07:59:03.783+00:00

    @green - We are also able to repro the issue. Full width property is not working as expected. Expected to show full width but the width is shrinking based on controls text.

    Microsoft Teams Version 1.5.00.9567

    Observed same behavior in Web teams client as well.
    There is already a bug raised for this issue and engineering team is looking into it. We will update you once we get any further info. Thanks !

    Desktop:
    191739-image.png
    Web:
    191738-image.png

    Thanks,

    Prasad Das


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

  3. Prasad-MSFT 5,701 Reputation points Microsoft Vendor
    2022-06-24T05:15:16.06+00:00

    Update:

    The issue is fixed now. The card is rendering properly as below.
    214632-image.png

    Please do check.

    Microsoft Teams Version 1.5.00.17221


  4. Tim 1 Reputation point
    2022-12-15T12:49:12.03+00:00

    Good afternoon,

    We have the same problems all adaptive cards have changed there format even though they are wide within the json.
    Is there a solution for this issue ?

    Thank you,
    Tim


  5. Tim 1 Reputation point
    2023-01-19T16:39:46.9233333+00:00

    Is there any kind of update on this matter ?