Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Hi Mohamed
Thank you for reaching out.
Based on your description, this behavior is likely related to how the Teams iOS mobile renderer handles Adaptive Cards with more complex layouts, particularly when using ColumnSet and Badge elements within a task module or dialog. As far as I know, on iOS devices, the narrower screen width can make ColumnSet layouts more susceptible to truncation or inconsistent rendering. As a result, the badge may sometimes appear clipped or display correctly depending on how the layout is adjusted at runtime.
As potential workarounds, you can try to:
Reducing the badge size from "size": "Large" to "size": "Medium" to improve fit within constrained layouts.
Downgrading the Adaptive Card schema version to "version": "1.2" or "1.5" for more stable rendering on mobile.
Simplifying the ColumnSet structure, or replacing the Badge with a styled TextBlock (for example, using background color and padding) to simulate a similar visual effect.
Please note that this summary is based on my own findings and may not fully address your concerns. To help you reach your goal more effectively, I recommend engaging with [GitHub Community Forum] for a deeper technical dive or to connect with individuals who have relevant experience and expertise. Some approaches may behave differently or be restricted depending on your specific environment and configuration. These forums include many experienced developers and Microsoft specialists who can assist with troubleshooting and guidance.
Apologies for redirecting you to the related development team support. As moderators in this community, we do not have access to your specific tenant configuration, and my testing environment is limited. Therefore, my guidance is based on available Microsoft documentation and resources. That said, I’ll do my best to provide additional insight where possible.
If you have any additional concerns, feel free to comment below. I would be more than happy to assist.
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.