
4.5.3
.ac-pushButton will remove the gradient. We're still not sure why this is happening.Steps to reproduce the behavior:
Adaptive Card buttons should show as plain white.
[Bug]
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
Most helpful comment
When we set the background color to
#FEFEFE, the gradient is gone. But if we set it to#FFF,#FFFFFForWhite, it become gradient.When we set
bordertodotted, it is fixed. When we set it tosolid, gradient fight back.Tested on Chrome 72 and 76 on Mac.
(#°Д°)