mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 23:33:09 +02: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…
Reference in a new issue