Skip to content

[Rendering][iOS] Background Image doesn't fill the card. #6222

@shabripabba

Description

@shabripabba

Target Platform

Please list the platform(s) that your application is targeting and remove platforms you are not targeting:

  • iOS

Target Application

Please provide the name of the application that is rendering the card (ex: Outlook, Teams, etc)

Problem Description

Please enter a description of the issue. If you just have a question, please post on StackOverflow instead

A stretch image inside a card with a background image, doesn't render similar to the designer

Screenshot

Please provide a screenshot of the problem (if possible)
The first screenshot is of Designer and the second one is the test app.
Screen Shot 2021-08-17 at 9 26 26 PM

Screen Shot 2021-08-17 at 9 26 15 PM

Card JSON

{
  "body": [
    {
      "columns": [
        {
          "width": "1",
          "items": [
            {
              "size": "stretch",
              "altText": "Spider cover showing a spider web",
              "type": "Image",
              "url": "https://i.ibb.co/Z1Bqsxg/spider.png",
              "height": "auto"
            }
          ],
          "type": "Column"
        },
        {
          "width": "1",
          "items": [
            {
              "text": "Click here to play another game of Spider in Microsoft Solitaire Collection!",
              "wrap": true,
              "color": "light",
              "weight": "bolder",
              "type": "TextBlock",
              "horizontalAlignment": "center"
            }
          ],
          "type": "Column"
        }
      ],
      "type": "ColumnSet"
    }
  ],
  "$schema": "http:\/\/adaptivecards.io\/schemas\/adaptive-card.json",
  "type": "AdaptiveCard",
  "backgroundImage": "https://i.ibb.co/KbW7hHq/background.png",
  "version": "0.5"
}

Please provide the JSON of the Card that is being rendered

Sample Code

Please provide any relevant code samples to help reproduce the issue

Version of SDK

What version are you using? Ex: NuGet 1.0.2, or latest main, etc...
2.8.0-beata1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions