BotFramework-WebChat
BotFramework-WebChat copied to clipboard
Vertical Image is Stretched in Chat Window
Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
No response
Which area does this issue affect?
Chat history
Which theme pack does this issue affect?
I did not test it on other theme packs
What is the public URL for the website?
No response
Please describe the bug
When user attaches a vertical image (more height than width), the image is stretched to fit chat bubble's width
Image should preserve the same aspect ratio
Issue reported in https://msazure.visualstudio.com/CCI/_workitems/edit/27675762
Do you see any errors in console log?
No response
How to reproduce the issue?
Steps to reproduce found in https://msazure.visualstudio.com/CCI/_workitems/edit/27675762
What do you expect?
Image should preserve aspect ratio and not stretch fully to chat bubble's width
What actually happened?
Image is stretching horizontally and image appears distorted
Do you have any screenshots or recordings to repro the issue?
Adaptive Card JSON
No response
Additional context
No response