mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	絵文字ピッカーにフォーカスされないのを修正
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() {
 | 
			
		||||
	picker.value?.reset();
 | 
			
		||||
	picker.value?.focus();
 | 
			
		||||
 | 
			
		||||
	// 何故かちょっと待たないとフォーカスされない
 | 
			
		||||
	setTimeout(() => {
 | 
			
		||||
		picker.value?.focus();
 | 
			
		||||
	}, 10);
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue