AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Can't focus on Input.Text on GroupChat on Android or iOS

Open Lorenzo-MWF opened this issue 3 years ago • 1 comments

We are using https://www.npmjs.com/package/botbuilder to build a bot for Microsoft Teams. We have the following payload to create a card, which has an Input.Text inside an Action.ShowCard card.

It works fine everywhere except on group chats on the mobile app, where nothing happens when you click on the Input.Text.

Here is a demo: https://drive.google.com/file/d/1zrlusJ4rKarRBv1y4s9pzCjGg9HXgmTn/view?usp=sharing

Here is an example payload:

{
                "$schema":"http://adaptivecards.io/schemas/adaptive-card.json",
                "type":"AdaptiveCard",
                "version":"1.2",
                "actions":[
                    {
                        "type":"Action.ShowCard",
                        "title":"Comment",
                        "card":{
                            "type":"AdaptiveCard",
                            "body":[
                                {
                                    "type":"Input.Text",
                                    "label":"Enter comment",
                                    "style":"text",
                                    "id":"text",
                                    "isMultiline":true,
                                    "placeholder":"Enter your comment"
                                }
                            ],
                            "actions":[
                                {
                                    "type":"Action.Submit",
                                    "title":"Save",
                                    "data":{
                                        "command":"comment",
                                        "productUserId":"5ef53be554c8a50ab5bed631",
                                        "issueIdOrKey":"AP-1"
                                    }
                                }
                            ]
                        }
                    }
                ],
                "body":[
                    {
                        "type":"TextBlock",
                        "size":"medium",
                        "weight":"bolder",
                        "text":"[AP-1 - Issue 1](https://mwf-lorenzo.atlassian.net/browse/AP-1)",
                        "wrap":true
                    },
                    {
                        "type":"ColumnSet",
                        "columns":[
                            {
                                "type":"Column",
                                "width":"auto",
                                "items":[
                                    {
                                        "type":"Image",
                                        "style":"Person",
                                        "url":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/LR-1.png",
                                        "size":"small"
                                    }
                                ]
                            },
                            {
                                "type":"Column",
                                "width":"stretch",
                                "items":[
                                    {
                                        "type":"TextBlock",
                                        "weight":"lighter",
                                        "text":"Task [AP-1](https://mwf-lorenzo.atlassian.net/browse/AP-1)",
                                        "wrap":true
                                    },
                                    {
                                        "type":"TextBlock",
                                        "spacing":"None",
                                        "text":"by Lorenzo Rodrigo",
                                        "isSubtle":true,
                                        "wrap":true
                                    }
                                ]
                            }
                        ]
                    }
                ]
}

Lorenzo-MWF avatar Apr 07 '21 02:04 Lorenzo-MWF

+1

leonkyr avatar Apr 07 '21 08:04 leonkyr