Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PeoplePicker Freezes When Typing In Search Values #117
[ ] Enhancement
[ ] Question
Please specify what version of the library you are using: [@firstname.lastname@example.org]
Expected / Desired Behavior / Question
Clicking in then typing a name (minimum 3 characters) in the PeoplePicker (PP) would return suggestions for selection.
When clicking in the PP field, I'm getting this message in the console (Chrome):
When I type in the field I get the same message in the console and the UI becomes unresponsive:
After a minute or two the UI becomes responsive again and suggestions are rendered.
While suggestions are being loaded, these errors are shown in the console for a significant percentage of users:
Note: Pasting in names or email address works as expected.
Steps to Reproduce
I was using version 1.6. Then I did an update in response to issue #95. When deploying the updated WebPart the issues became apparent.
The long delay and frozen display makes the field appear to be broken. Pasting in a name as short as "Mark" returns responses very quickly. Typing "Mark" will eventually work but you can't see the text as it is being typed.
This is my call to the PeoplePicker:
added a commit
Sep 7, 2018
Thanks @Arknev for reporting this. Until now, we didn't have a version dependency on Office UI Fabric. As the library properties are changed so often, I had to add a version dependency to the project. As of version
I combined two issues into one here. Although the primaryText issue was addressed, that issue was actually minor compared to the UI freezing when searching for users. In our tenant we have millions of users. It would be great if the "resolveDelay" property (IBasePickerProps) could be set when calling the PeoplePicker. I don't see a way to delay search until a minimum number of characters are entered, which would be best, but this time delay would likely meet our needs.