AdaptiveCards
AdaptiveCards copied to clipboard
.NET overlapping selectAction triggers
Remove overlapping triggers for nested components with selectAction
For example, for the card below, clicking on the inner container would trigger both selectAction:
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Container",
"selectAction": {
"type": "Action.OpenUrl",
"url": "https://outer-container.io"
},
"items": [
{
"type": "TextBlock",
"text": "Outer container"
},
{
"type": "Container",
"selectAction": {
"type": "Action.OpenUrl",
"url": "https://inner-container.io"
},
"items": [
{
"type": "TextBlock",
"text": "Inner container"
}
]
}
]
}
]
}