Focus while upload.
This commit is contained in:
		
							parent
							
								
									e153811ff3
								
							
						
					
					
						commit
						0a3e151377
					
				| @ -264,7 +264,11 @@ | |||||||
|                 escPressed = false;  |                 escPressed = false;  | ||||||
| 
 | 
 | ||||||
|             messagesContainer.querySelector(".message:last-child").scrollIntoView({ block: "end", inline: "nearest" }); |             messagesContainer.querySelector(".message:last-child").scrollIntoView({ block: "end", inline: "nearest" }); | ||||||
|  |                 setTimeout(() => { | ||||||
|  |                      | ||||||
|                     getInputField().focus(); |                     getInputField().focus(); | ||||||
|  |                 },500) | ||||||
|  | 
 | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         if (event.shiftKey && event.key === 'G') { |         if (event.shiftKey && event.key === 'G') { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user