microsoft / microsoft/AdaptiveCards
[UWP Renderer] Images using resource resolvers and auto size are not rendering
Open
@anna-dingler is already working on this.
Since Dec 12, 2022.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Platform
- UWP
Issue
When using resourceResolver and size: auto, the image does not render properly.
SetAutoSize is called twice, and the second time sets the dimensions as 0x0.
Example payload
{
"type": "AdaptiveCard",
"version": "0.5",
"body": [
{
"type": "Image",
"url": "symbol:up"
}
]
}
Proposed solution
We need to return after resolver logic has been completed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.