Adaptivecards: [Android] [Accessibility] Showing card actions horizontally when there're not enough space

Created on 13 Apr 2020  路  13Comments  路  Source: microsoft/AdaptiveCards

Platform

  • Teams for Android

Author or host

Bot sends card to user

Version of SDK

Node.JS package
botbuilder version 4.7.2

Details

Steps to reproduce:

  1. Open Teams and install Microsoft Apps Studio
  2. Go to App Studio, click New Card and paste the JSON below
    { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "TextBlock", "wrap": true, "text": "Problem with wrapping text of adaptive card actions." } ], "actions": [ { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } }, { "type": "Action.ShowCard", "title": "Button with long text", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "This is a show card" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } } ] }
  3. Click Send to me as a Card
  4. Open Teams app on Android and observe the result
    image

Actual behavior:
Action cards are stacked horizontally without scroll bar when there're not enough space to show them all

Expected behavior:
Wrap cards and show them vertically if there're not enough space

Bug MSTeams-Developer-Support Msft-TeamsMobile MsftTeams-Integration Triage-External

All 13 comments

@SiarheiKuchukBelitsoft
Thanks for sharing this info.
The behavior you desired is supported via HostConfig. The hostconfig is managed by host app, in this case, it's Teams Mobile app.

The buttons are actually horizontally scrollable although it's missing the scroll bar indicator. @shbhadra, is there a plan for adding a scroll bar for actions?

@jwoo-msft, The same behavior I observe for Teams for IOS.

@VikrantSingh01 / @jwoo-msft is this something ath needs to be addressed on the Teams end here?

We have acknowledged this issue report. Please continue to follow the issue for updates/progress/questions. @matthidinger / @dclaux / @rebeccaanne / @paulcam206 / @nesalang / @almedina-ms FYI.

@shalinijoshi19
Could you help me forward this issue to Teams?

@SiarheiKuchukBelitsoft Thanks for reporting this. We have raised a bug for this and we are looking into it.

@Gousia-MSFT, thanks! You're doing a great job with Teams. It serves so well as corporate chat, planner, etc...

This is being fixed in the June sprint by Teams Mobile Platform

3705

3865

Seem to be similar or related aswell

@anbah34 did the June release wtih the fix go out? Could you drop a link to the release here for reference at all?

Also @DeeJayTC / @SiarheiKuchukBelitsoft closing this issue out now; Pls feel free to file a new one or reactivate if you find this is not fixed with the latest Teams release

@shalinijoshi19 yes this was fixed back in June/ july and can be checked/ validated on the current store build.

Change made - Buttons wrap in a card rather than being shown horizontally

Bug is Resolved now, we have tested this at our end, could you please also check and confirm?
The issue is with the Teams client which is fixed now.

Was this page helpful?
0 / 5 - 0 ratings