Teams iOS Update 8.9.2 (May 26) Adaptive cards ToggleVisibility doesn't render correctly.

Office 20 Reputation points
2026-06-04T07:37:03.21+00:00

After the Teams iOS Update 8.9.2 (May 26) the ToddgleVisbility no longer expands the adaptive card to display the hidden container correctly. Works fine on Desktop. Previously working on iOS.

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [
        {
            "type": "Container",
            "items": [
                {
                    "type": "TextBlock",
                    "text": "From:  Tester",
                    "wrap": true,
                    "color": "Good",
                    "weight": "Bolder"
                },
                {
                    "type": "TextBlock",
                    "text": "Incoming Test Message",
                    "wrap": true,
                    "horizontalAlignment": "Left"
                },
                {
                    "type": "ActionSet",
                    "actions": [
                        {
                            "type": "Action.ToggleVisibility",
                            "title": "Reply",
                            "iconUrl": "icon:Comment",
                            "targetElements": [
                                "sectionSend"
                            ],
                            "style": "positive"
                        },
                        {
                            "type": "Action.Submit",
                            "title": "Mark Completed",
                            "iconUrl": "icon:CommentDismiss",
                            "style": "destructive",
                            "id": "MarkCompleted",
                            "associatedInputs": "none"
                        }
                    ]
                }
            ]
        },
        {
            "type": "Input.Text",
            "id": "hiddenVar",
            "value": "variant123",
            "isVisible": false
        },
        {
            "type": "Container",
            "id": "sectionSend",
            "isVisible": false,
            "items": [
                {
                    "type": "Input.Text",
                    "id": "replyMessage",
                    "placeholder": "type your message...",
                    "isMultiline": true,
                    "label": "Reply",
                    "isRequired": true,
                    "errorMessage": "Type a message to send!"
                },
                {
                    "type": "ActionSet",
                    "actions": [
                        {
                            "type": "Action.Submit",
                            "title": "Send",
                            "data": {
                                "replyTo": "Test"
                            },
                            "iconUrl": "icon:Send",
                            "style": "positive",
                            "id": "SendMessage",
                            "associatedInputs": "auto"
                        }
                    ]
                }
            ]
        }
    ]
}

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments

Answer accepted by question author
Anonymous
2026-06-04T08:34:51.1466667+00:00

Hello @Office

I tested this behavior on my side and the same issue with Action.ToggleVisibility happened.

As a workaround, I replaced the Reply button with Action.ShowCard (including the input field inside), and it works correctly in my testing environment, including on iOS. Could you please try this approach and see if it meets your requirements?

{
  "type": "Action.ShowCard",
  "title": "Reply",
  "iconUrl": "icon:Comment",
  "style": "positive",
  "card": {
    "type": "AdaptiveCard",
    "body": [
      {
        "type": "Input.Text",
        "id": "replyMessage",
        "placeholder": "type your message...",
        "isMultiline": true,
        "label": "Reply",
        "isRequired": true,
        "errorMessage": "Type a message to send!"
      }
    ],
    "actions": [
      {
        "type": "Action.Submit",
        "title": "Send",
        "data": {
          "replyTo": "Test"
        },
        "iconUrl": "icon:Send",
        "style": "positive",
        "id": "SendMessage",
        "associatedInputs": "auto"
      }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5"
  }
}

User's image

Regarding the issue with ToggleVisibility, I recommend submitting feedback on Feedback portal https://feedbackportal.microsoft.com/feedback/forum/ad198462-1c1c-ec11-b6e7-0022481f8472 and, if possible, creating a support ticket via the Microsoft 365 admin center so the product team can investigate further.

Since this is a user-to-user support forum, moderators aren’t Microsoft Support and don’t have backend access to Microsoft systems. As a result, we’re unable to directly escalate or resolve product issues. We can only share guidance and possible workarounds based on testing and community experience.

Hope this helps and looking forward to your reply.


Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.

2 additional answers

Sort by: Oldest
  1. Sayali-MSFT 6,476 Reputation points Microsoft External Staff Moderator
    2026-06-05T08:24:05.53+00:00

    Hello @Office,
    Thank you for your patience! We were able to reproduce the issue in the [Mobile (iOS] Teams version [8.9.2]. We have reported this as a bug for further investigation. 

    We will keep you updated as soon as we receive further information. Thank you for bringing this to our attention! 
    Image (17)

    Was this answer helpful?


  2. Ilan Moshe Paperon 0 Reputation points
    2026-07-11T18:54:21.31+00:00

    Hello @Office & @Sayali-MSFT
    Is there any update on this issue? We’re seeing the same behavior on the latest Teams iOS app and were wondering if there’s any progress or a planned fix.
    Thanks :)

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.