Skip to content

Commit 440211b

Browse files
authored
fix: remove picker focus when using selectUsersById (#3282)
* remove picker focus when using selectUsersById * remove logging
1 parent dfccd65 commit 440211b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/mgt-components/src/components/mgt-people-picker/mgt-people-picker.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,9 @@ export class MgtPeoplePicker extends MgtTemplatedTaskComponent {
12691269
this._foundPeople = [];
12701270
this._arrowSelectionCount = -1;
12711271
}
1272-
this.enableTextInput();
1272+
if (this._isFocused) {
1273+
this.enableTextInput();
1274+
}
12731275
}
12741276
}
12751277

0 commit comments

Comments
 (0)