絵文字ピッカーにフォーカスされないのを修正
This commit is contained in:
		
							parent
							
								
									b7dec6e87d
								
							
						
					
					
						commit
						8f28ff63f1
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -59,6 +59,11 @@ function chosen(emoji: any) { | ||||||
| function opening() { | function opening() { | ||||||
| 	picker.value?.reset(); | 	picker.value?.reset(); | ||||||
| 	picker.value?.focus(); | 	picker.value?.focus(); | ||||||
|  | 
 | ||||||
|  | 	// 何故かちょっと待たないとフォーカスされない | ||||||
|  | 	setTimeout(() => { | ||||||
|  | 		picker.value?.focus(); | ||||||
|  | 	}, 10); | ||||||
| } | } | ||||||
| </script> | </script> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue