Skip to content

Commit ad1b97b

Browse files
vogtnnmetulev
andauthored
fix for debounce issue removing characters (#765)
Co-authored-by: Nikola Metulev <[email protected]>
1 parent 6f2d44e commit ad1b97b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,7 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
911911
this.hideFlyout();
912912
}
913913
}, 400);
914+
this.userInput = input.value;
914915

915916
await this.loadState();
916917
clearTimeout(loadingTimeout);
@@ -922,7 +923,6 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
922923
}
923924

924925
if (this.userInput !== input.value) {
925-
this.userInput = input.value;
926926
this._debouncedSearch();
927927
}
928928
}

0 commit comments

Comments
 (0)