[Android] [Accessibility] Showing card actions horizontally when there're not enough space
See original GitHub issuePlatform
- 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:
- Open Teams and install Microsoft Apps Studio
- 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" } } ] }
- Click Send to me as a Card
- Open Teams app on Android and observe the result
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
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Constraint Layout put view below if there is not enough ...
I want the buttons to be positioned horizontally if they fit, if one of the buttons has to hyphenate, then I would like...
Read more >Support different screen sizes
About paging · Load and display paged data · Page from network and database · Transform data streams · Manage and present loading...
Read more >Autosize TextViews
Default. The default setting lets the autosizing of TextView scale uniformly on horizontal and vertical axes.
Read more >android button layout smarty two rows if not enough space
A LinearLayout with horizontal orientation will only layout one row regardless of space. What you seem to want is a " FlowLayout ",...
Read more >Accessibility in Compose | Jetpack ...
Accessibility services like Talkback and Switch Access allow users to move focus across elements on the screen. It is important that elements are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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
One more mention of the bug here: https://stackoverflow.com/questions/62470617/how-would-it-be-possible-that-adaptive-cards-in-microsoft-teams-for-android-neve