AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

.NET overlapping selectAction triggers

Open tuanh118 opened this issue 8 years ago • 0 comments

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"
            }
          ]
        }
      ]
    }
  ]
}

tuanh118 avatar Jun 05 '18 19:06 tuanh118