Make the toolbar buttons usable with keyboard when Page Fit is used
This commit is contained in:
		
							parent
							
								
									c4c24c6d18
								
							
						
					
					
						commit
						3263fd0307
					
				| @ -3100,6 +3100,8 @@ function webViewerKeyDown(evt) { | ||||
|     curElementTagName === "INPUT" || | ||||
|     curElementTagName === "TEXTAREA" || | ||||
|     curElementTagName === "SELECT" || | ||||
|     (curElementTagName === "BUTTON" && | ||||
|       (evt.keyCode === /* Enter = */ 13 || evt.keyCode === /* Space = */ 32)) || | ||||
|     curElement?.isContentEditable | ||||
|   ) { | ||||
|     // Make sure that the secondary toolbar is closed when Escape is pressed.
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user