File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/components/mgt-people-picker Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -867,6 +867,7 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
867867 this . userInput = '' ;
868868 // remove last person in selected list
869869 this . selectedPeople = this . selectedPeople . splice ( 0 , this . selectedPeople . length - 1 ) ;
870+ this . loadState ( ) ;
870871 // reset flyout position
871872 this . hideFlyout ( ) ;
872873 this . showFlyout ( ) ;
@@ -892,7 +893,6 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
892893 * @param input - input text
893894 */
894895 private handleUserSearch ( input : HTMLInputElement ) {
895- this . _showLoading = true ;
896896 if ( ! this . _debouncedSearch ) {
897897 this . _debouncedSearch = debounce ( async ( ) => {
898898 // Wait a few milliseconds before showing the flyout.
@@ -915,6 +915,7 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
915915 }
916916
917917 if ( this . userInput !== input . value ) {
918+ this . _showLoading = true ;
918919 this . userInput = input . value ;
919920 this . _debouncedSearch ( ) ;
920921 }
You can’t perform that action at this time.
0 commit comments