mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-18 03:23:08 +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