MOBILE-3748 rte: Fix Scan QR keyboard interaction
This commit is contained in:
		
							parent
							
								
									bf7659223d
								
							
						
					
					
						commit
						007a4f7656
					
				| @ -1032,6 +1032,10 @@ export class CoreEditorRichTextEditorComponent implements OnInit, AfterViewInit, | |||||||
|      * @returns Promise resolved when done. |      * @returns Promise resolved when done. | ||||||
|      */ |      */ | ||||||
|     async scanQR(event: Event): Promise<void> { |     async scanQR(event: Event): Promise<void> { | ||||||
|  |         if (event.type == 'keyup' && !this.isValidKeyboardKey(<KeyboardEvent>event)) { | ||||||
|  |             return; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|         this.stopBubble(event); |         this.stopBubble(event); | ||||||
| 
 | 
 | ||||||
|         // Scan for a QR code.
 |         // Scan for a QR code.
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user