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

[iOS] Multiline Input.Text elements should stretch when height is set to stretch #5348

Closed
RebeccaAnne opened this issue Feb 2, 2021 · 0 comments · Fixed by #5435
Closed
Assignees
Labels
Feature Partner-CiscoWebEx Bugs impacting CiscoWebEx integration scenarios
Milestone

Comments

@RebeccaAnne
Copy link
Contributor

iOS spin off of #4097

Platform

  • iOS

Details

For multiline Input.Text elements with the height set to stretch, the control should stretch to take up the available space. Sample card below:

{
      "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
      "type": "AdaptiveCard",
      "version": "1.0",
      "body": [
        {
          "type": "TextBlock",
          "size": "Medium",
          "weight": "Bolder",
          "text": "Custom JSON Design Input",
          "horizontalAlignment": "Center"
        },
        {
          "type": "TextBlock",
          "text": "In addition to showing your our pre-built samples, I can submit your custom design for you.  This helps to see how it will render or to see what type of payload your app will need to process if a user hits an Action.Submit button.",
          "wrap": true
        },
        {
          "type": "TextBlock",
          "text": "One way to get design JSON to paste here is to use the \"Copy Card JSON\" button from the [Buttons and Cards Designer](https://developer.webex.com/buttons-and-cards-designer) "
        },
        {
          "type": "Container",
          "items": [
            {
              "type": "Input.Text",
              "placeholder": "Paste card JSON here",
              "id": "cardJson",
              "isMultiline": true,
              "height": "stretch",
              "maxLength": 8000
            }
          ],
          "minHeight": "266px"
        }
      ],
      "actions": [
        {
          "type": "Action.Submit",
          "title": "Display My Card",
          "data": {
            "cardType": "customJsonInput",
            "nextAction": "submitJson"
          }
        },
        {
          "type": "Action.Submit",
          "title": "Go Back To The Built In Samples",
          "data": {
            "cardType": "customJsonInput",
            "nextAction": "samplePicker"
          }
        }
      ]
    }
@RebeccaAnne RebeccaAnne added the Bug label Feb 2, 2021
@ghost ghost added this to the Short Term milestone Feb 2, 2021
@ghost ghost added the Triage-Needed label Feb 2, 2021
@ghost ghost added this to Needs triage in Bug Triage Feb 2, 2021
@RebeccaAnne RebeccaAnne modified the milestones: Short Term, 21.02 Feb 2, 2021
@RebeccaAnne RebeccaAnne moved this from Needs triage to Approved in Bug Triage Feb 2, 2021
@RebeccaAnne RebeccaAnne moved this from Approved to Needs triage in Bug Triage Feb 2, 2021
@RebeccaAnne RebeccaAnne modified the milestones: 21.02, Short Term Feb 2, 2021
@RebeccaAnne RebeccaAnne added Feature and removed Bug labels Feb 2, 2021
@RebeccaAnne RebeccaAnne modified the milestones: Short Term, 21.02 Feb 2, 2021
@ghost ghost moved this from Needs triage to Approved in Bug Triage Feb 2, 2021
@ghost ghost removed the Triage-Needed label Feb 2, 2021
@RebeccaAnne RebeccaAnne added the Partner-CiscoWebEx Bugs impacting CiscoWebEx integration scenarios label Feb 3, 2021
@jwoo-msft jwoo-msft added this to To do in Joseph's Tasks via automation Feb 19, 2021
@jwoo-msft jwoo-msft moved this from To do to Current Milestone in Joseph's Tasks Feb 19, 2021
jwoo-msft added a commit that referenced this issue Feb 25, 2021
@jwoo-msft jwoo-msft mentioned this issue Feb 25, 2021
Bug Triage automation moved this from Approved to Closed Feb 26, 2021
Joseph's Tasks automation moved this from Current Milestone to Done Feb 26, 2021
jwoo-msft added a commit that referenced this issue Feb 26, 2021
rankush pushed a commit to rankush/AdaptiveCards that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Partner-CiscoWebEx Bugs impacting CiscoWebEx integration scenarios
Projects
No open projects
Bug Triage
  
Closed
Development

Successfully merging a pull request may close this issue.

2 participants