File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/components/mgt-teams-channel-picker Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ export class MgtTeamsChannelPicker extends MgtTemplatedComponent {
352352 aria-label ="Select a channel "
353353 data-placeholder ="${ ! ! this . _selectedItemState ? '' : 'Select a channel ' } "
354354 role ="input "
355- @input =${ e => this . handleInputChanged ( e ) }
355+ @keyup =${ e => this . handleInputChanged ( e ) }
356356 contenteditable
357357 > </ span >
358358 </ div >
@@ -614,7 +614,12 @@ export class MgtTeamsChannelPicker extends MgtTemplatedComponent {
614614 }
615615
616616 private handleInputChanged ( e ) {
617- this . _inputValue = e . target . textContent ;
617+ if ( this . _inputValue !== e . target . textContent ) {
618+ this . _inputValue = e . target . textContent ;
619+ } else {
620+ return ;
621+ }
622+
618623 // shows list
619624 this . gainedFocus ( ) ;
620625
You can’t perform that action at this time.
0 commit comments