microsoft-graph-toolkit
microsoft-graph-toolkit copied to clipboard
[BUG] [mgt-people-picker] Odd loading UX when searching and selecting AD security group
Describe the bug When you use mgt-people-picker in your organization, you might see odd UX when searching for AD security groups.
To Reproduce Steps to reproduce the behavior:
- Create a regular
<mgt-people-picker>. You could use mgt.dev environment, but you should be logged into the real tenant. - Try to search for exact or partial name of an AD security group. It's important, that the results contains only AD security group(s) and not users.
- Upon loading the results, only the white circle will be visible. After a while, a group component will appear.
- Select a group from results list - you will see a close button and only after group info is loaded, you will be able to see the group name in the component. (see attached video)
Expected behavior Upon searching, a loading circle should be visible, the same as searching for a user.
Screenshots
https://github.com/microsoftgraph/microsoft-graph-toolkit/assets/10658276/5d322776-2e35-447d-8ba8-88a761c77898
Environment (please complete the following information):
- OS: Win 11
- Browser: edge, chrome
- Framework: none
- Context: any
- Version: 4.0.1
- Provider: any
Wow, that's an interesting case, thanks for raising this @s-KaiNet