Botframework-webchat: Adaptive Card buttons are wonky on Mac Chrome

Created on 28 Aug 2019  Â·  4Comments  Â·  Source: microsoft/BotFramework-WebChat

Screenshots

image

Version

4.5.3

Describe the bug

  • Adaptive Card buttons show as having a gradient that looks bad. Interestingly, when you set the background color manually to .ac-pushButton will remove the gradient. We're still not sure why this is happening.

To Reproduce

Steps to reproduce the behavior:

  1. Open Mock Bot in Chrome on a Mac.
  2. Type help
  3. Note that the buttons have a gradient background.

Expected behavior

Adaptive Card buttons should show as plain white.

Additional context

[Bug]

Bug Help wanted Good first bug backlog front-burner

Most helpful comment

When we set the background color to #FEFEFE, the gradient is gone. But if we set it to #FFF, #FFFFFF or White, it become gradient.

When we set border to dotted, it is fixed. When we set it to solid, gradient fight back.

Tested on Chrome 72 and 76 on Mac.

(#°Д°)

All 4 comments

When we set the background color to #FEFEFE, the gradient is gone. But if we set it to #FFF, #FFFFFF or White, it become gradient.

When we set border to dotted, it is fixed. When we set it to solid, gradient fight back.

Tested on Chrome 72 and 76 on Mac.

(#°Д°)

I think we should file this bug to Adaptive Card and ask them to set appearance: none (also for vendor prefix if needed, i.e. -webkit-appearance: none).

Filed an issue to Adaptive Card team, https://github.com/microsoft/AdaptiveCards/issues/3411.

It looks like this is a won't fix from AC team, but as a workaround we will add appearance: none to ac-pushButton in AdaptiveCardRenderer.js

Was this page helpful?
0 / 5 - 0 ratings

Related issues

corinagum picture corinagum  Â·  3Comments

joshm998 picture joshm998  Â·  3Comments

filipjakov picture filipjakov  Â·  4Comments

Stardox picture Stardox  Â·  3Comments

adriantan08 picture adriantan08  Â·  3Comments