Open
Description
Describe the bug
When editing an adaptive card within Visual Studio 2022 17.14.6, if "msteams": { "width": "Full" }
is used, the Output pane opens with a warning: (!) Warning: Full Width Control is not supported yet in Adaptive Card Previewer, you can debug in Teams to try it.
This warning puts the adaptive card JSON in the background and interrupts typing. If you click back into the card and type a few characters, the warning reappears and again interrupts typing. It makes it very difficult to make changes to the card from within Visual Studio.
To Reproduce
Steps to reproduce the behavior:
- Create a simple adaptive card in Visual Studio and add
"msteams": { "width": "Full" }
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"msteams": {
"width": "Full"
},
"body": [
{
"type": "TextBlock",
"wrap": true,
"style": "heading",
"text": "${companyName}"
},
{
"type": "TextBlock",
"text": "${contactName}",
"wrap": true
},
{
"type": "TextBlock",
"text": "The following contact field(s) differ between Autotask and Azure. Please select the correct value(s)...",
"wrap": true
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Execute",
"title": "Submit",
"data": {
"cardId": "${cardId}",
"companyName": "${companyName}",
"contactName": "${contactName}"
}
}
]
}
]
}
- Make an edit to the card.
- The Output window is shown with a warning which interrupts typing in the card.
Expected behavior
The warning should only be displayed once, and typing should not be interrupted.
Screenshots