File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/components/mgt-people-picker Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,6 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
354354 < div class ="people-selected-list ">
355355 ${ selectedPeopleTemplate } ${ flyoutTemplate }
356356 </ div >
357- < div class ="people-picker-input "> </ div >
358357 </ div >
359358 ` ;
360359 }
@@ -902,6 +901,7 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
902901 */
903902 private handleUserSearch ( input : HTMLInputElement ) {
904903 if ( ! this . _debouncedSearch ) {
904+ this . _showLoading = true ;
905905 this . _debouncedSearch = debounce ( async ( ) => {
906906 // Wait a few milliseconds before showing the flyout.
907907 // This helps prevent loading state flickering while the user is actively changing the query.
@@ -923,7 +923,6 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
923923 }
924924
925925 if ( this . userInput !== input . value ) {
926- this . _showLoading = true ;
927926 this . userInput = input . value ;
928927 this . _debouncedSearch ( ) ;
929928 }
You can’t perform that action at this time.
0 commit comments