microsoft / AdaptiveCards

A new way for developers to exchange card content in a common and consistent way.
https://adaptivecards.io
MIT License
1.76k stars 550 forks source link

[Rendering] [WinUI3] SVG rendering issues when `viewBox` is not specified #8987

Open Diegorro98 opened 2 months ago

Diegorro98 commented 2 months ago

Target Platforms

WinUI3

SDK Version

24.05

Application Name

Widget board (with WinUI3 widgets) (Windows Web Experience Pack 524.22801.0.0)

Problem Description

When using an SVG that doesn't have viewBox set, some issues appear:

Screenshots

Card JSON

Provided on the above screenshots

Sample Code Language

No response

Sample Code

No response

Diegorro98 commented 2 months ago

I'm tagging @meetikasharma because was the author of #8911 and might have some ideas about how to solve these issues.