Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
shabripabba opened this issue Aug 18, 2021 · 0 comments · Fixed by #6233
Closed

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

shabripabba opened this issue Aug 18, 2021 · 0 comments · Fixed by #6233
Assignees
Projects

Comments

@shabripabba
Copy link
Contributor

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

@jonmill jonmill added this to P1 in Triage Aug 20, 2021
@jwoo-msft jwoo-msft added this to the 21.08 milestone Aug 20, 2021
@jwoo-msft jwoo-msft self-assigned this Aug 20, 2021
@jonmill jonmill moved this from P1 to P0 in Triage Aug 25, 2021
Triage automation moved this from P0 to Closed Aug 25, 2021
jwoo-msft added a commit that referenced this issue Aug 25, 2021
* [iOS] Fixed #6219

* Updated sample card

* [iOS] Fixes 6222
@ghost ghost added Status-Fixed and removed Triage-Needed labels Aug 25, 2021
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this issue Nov 10, 2022
* [iOS] Fixed microsoft#6219

* Updated sample card

* [iOS] Fixes 6222
rankush pushed a commit to rankush/AdaptiveCards that referenced this issue May 8, 2024
* [iOS] Fixed microsoft#6219

* Updated sample card

* [iOS] Fixes 6222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Triage
Closed
Development

Successfully merging a pull request may close this issue.

2 participants