MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
277 stars 499 forks source link

People Picker Dropdown is only partially visible #8629

Open adrian-spear opened 1 year ago

adrian-spear commented 1 year ago

Hi, I have added a People Picker using the templated code from Microsoft Learn - the picker works perfectly but I have a display issue. After typing a few characters the picker presents the dropdown of options as expected but it does not extend past the boundary of the card it is contained within. e.g. image The adaptive card json is as follows: { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "size": "Medium", "weight": "Bolder", "text": "Who would you like to see today?" }, { "type": "Input.ChoiceSet", "choices": [], "choices.data": { "type": "Data.Query", "dataset": "graph.microsoft.com/users" }, "id": "people-picker", "isMultiSelect": true, "style": "expanded", "wrap": true } ], "actions": [ { "type": "Action.Execute", "verb": "displayProfiles", "title": "Submit" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.2" } The issue presents debugging in Edge, Chrome and Teams client.

ghost commented 1 year ago

Hi adrian-spear! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Meghana-MSFT commented 1 year ago

Thank you for reporting this, this seems to be by design behavior. Dropdown will not go past the card's boundary. We will check this and get back to you.

Meghana-MSFT commented 1 year ago

We tested this with the deployed manifest in people picker sample - https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-people-picker-adaptive-card/csharp/demo-manifest

The behavior of People Picker Dropdown is different in personal scope and teams scope. As you said drop down is only partially visible in personal scope.

Personal scope -

https://github.com/MicrosoftDocs/msteams-docs/assets/81138249/624b5635-793b-4511-a29f-1fd135ab28d7

Channel scope -

https://github.com/MicrosoftDocs/msteams-docs/assets/81138249/6a55928b-d4a8-4d14-904d-d3487b0f833d

We raised a bug for the same, we will keep you posted on the updates. Thank you.