question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[JS][Bug Bash] [ImageSet Auto Size doesn't work properly]

See original GitHub issue

Platform

What platform is your issue or question related to? (Delete other platforms).

  • JavaScript

Version of SDK

1.2.6

Details

repro steps:

  1. add the below json, and paste it to designer.
  2. no images will show up.
  3. ctrl-a then paste it again
{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
		{
			"type": "TextBlock",
			"text": "Here are some cool photos",
			"size": "large"
		},
		{
			"type": "TextBlock",
			"text": "Sorry some of them are repeats",
			"size": "medium",
			"weight": "lighter"
		},
		{
			"type": "ImageSet",
			"imageSize": "auto",
			"images": [
				{
					"type": "Image",
					"url": "https://picsum.photos/200/200?image=100"
				},
				{
					"type": "Image",
					"url": "https://picsum.photos/300/200?image=200"
				},
				{
					"type": "Image",
					"url": "https://picsum.photos/300/200?image=301"
				},
				{
					"type": "Image",
					"url": "https://picsum.photos/200/200?image=400"
				},
				{
					"type": "Image",
					"url": "https://picsum.photos/300/200?image=500"
				},
				{
					"type": "Image",
					"url": "https://picsum.photos/200/200?image=600"
				},
				{
					"type": "Image",
					"url": "https://picsum.photos/300/200?image=700"
				},
				{
					"type": "Image",
					"url": "https://picsum.photos/300/200?image=800"
				},
				{
					"type": "Image",
					"url": "https://picsum.photos/300/200?image=900"
				}
			]
		}
	]
}

some pictures are overlapped each other, and some pictures have wrong aspect ratio JS image

UWP image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dclauxcommented, Jan 29, 2020

I am not able to repro this.

0reactions
RebeccaAnnecommented, Jul 27, 2020

Duping to #4043

Read more comments on GitHub >

github_iconTop Results From Across the Web

Untitled
Check wildfly version command line linux, Arduino battery sense, Bts fake love mp3 ... of the rights of man, I laugh and that...
Read more >
Untitled
Veracode kony, Pobeda bulgaria, My teenage granddaughter doesn t like me, ... Disappointment in life images, Animal and veterinary bioscience jobs, ...
Read more >
Untitled
Does ritalin stop working after a while, Rosario tijeras telenovela colombiana, ... Zameen com multan rent, Bathroom door doesn't close properly, ...
Read more >
Untitled
Steampunk clock contact lenses, Dog doesn t want to drink water, ... Eu general data protection regulation maximum fine, Cartoon images of flowers....
Read more >
au
Range rover forum uk, Bear in th big blue house, Construction jobs in uruguay, ... Holdbarhet vann, Best antiperspirant that doesn t stain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found