From 21104bcfe39300d6ffeef7afda10a9d0de02a156 Mon Sep 17 00:00:00 2001 From: Gautam Sheth Date: Fri, 14 Sep 2018 11:16:09 +0530 Subject: [PATCH] Fix the people picker freezing issue --- src/controls/peoplepicker/PeoplePickerComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controls/peoplepicker/PeoplePickerComponent.tsx b/src/controls/peoplepicker/PeoplePickerComponent.tsx index 6c2c67700..592a79a3b 100644 --- a/src/controls/peoplepicker/PeoplePickerComponent.tsx +++ b/src/controls/peoplepicker/PeoplePickerComponent.tsx @@ -322,7 +322,7 @@ export class PeoplePicker extends React.Component item.primaryText === persona.primaryText).length > 0; + return personas.filter(item => item.secondaryText === persona.secondaryText).length > 0; } /**