forked from EVOgeek/Vmeda.Online
		
	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.
 | 
			
		||||
     */
 | 
			
		||||
    async scanQR(event: Event): Promise<void> {
 | 
			
		||||
        if (event.type == 'keyup' && !this.isValidKeyboardKey(<KeyboardEvent>event)) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        this.stopBubble(event);
 | 
			
		||||
 | 
			
		||||
        // Scan for a QR code.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user