AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[MsTeams][Button Styling issue] [Poor contrast between selected and non selected button]

Open sanjeev9160 opened this issue 6 years ago • 7 comments

Platform

What platform is your issue or question related to? (Delete other platforms).

  • MsTeams

Author or host

Author

If you're an author, who are you sending cards to? MsTeams

Version of SDK

NA

Details

The contrast between the selected button and the non-selected button is very difficult to find out. [MsTeams:] image

whereas in the adaptive card explorer we have the correct behavior [AdaptiveCard explorer] image

sanjeev9160 avatar Aug 04 '20 07:08 sanjeev9160

@dclaux / @siduppal isn't the contrast something that's defined by the host via hostconfig (CSS in this Teams' case)? @sanjeev9160 what is the AdaptiveCards explorer again and can you please share your card json as well? Thanks

shalinijoshi19 avatar Aug 10 '20 05:08 shalinijoshi19

Hello @sanjeev9160! We need some additional information from you to process this issue. Please see discussion comments above. Thanks!

ghost avatar Aug 10 '20 05:08 ghost

@shalinijoshi19: I am using the https://adaptivecards.io/designer with the following settings:

  • host app - Microsoft Teams - Light
  • Target version: 1.2

Card Json: { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.2", "body": [ { "type": "Container", "items": [ { "type": "TextBlock", "text": "Test Text", "wrap": true }, { "type": "ActionSet", "actions": [ { "type": "Action.ShowCard", "title": "Comment1", "card": { "type": "AdaptiveCard", "body": [ { "type": "Input.Text", "isMultiline": true, "id": "commentText", "placeholder": "Enter your comment"
}, { "type": "ActionSet", "actions": [ { "type": "Action.Submit", "title": "Submit" } ] } ] } }, { "type": "Action.ShowCard", "title": "Comment2", "card": { "type": "AdaptiveCard", "body": [ { "type": "Input.Text", "isMultiline": true, "id": "commentText", "placeholder": "Enter your comment"
}, { "type": "ActionSet", "actions": [ { "type": "Action.Submit", "title": "Submit" } ] } ] } } ] } ] } ] }

Please let me know if you need any additional information. Thanks.

sanjeev9160 avatar Aug 12 '20 07:08 sanjeev9160

Thanks @sanjeev9160 for following up on this issue. A member of our triage crew will re-engage as soon as possible to follow up. Thanks.

ghost avatar Aug 12 '20 07:08 ghost

Gentle Reminder on it. I can see the contrast difference in developer preview of teams. When do we expect the changes in the other versions of teams client.

sanjeev9160 avatar Sep 01 '20 06:09 sanjeev9160

@siduppal / @Wajeed-msft could you help with expected timelines for this issue on teh Teams client side? tx

shalinijoshi19 avatar Sep 21 '20 20:09 shalinijoshi19

This is a feature request , could you please raise user voice for this.

VaraPrasad-MSFT avatar Sep 23 '20 03:09 VaraPrasad-MSFT