fix: 🔊 log emoji picker errors
This commit is contained in:
parent
ba6502a45b
commit
3db785444a
1 changed files with 6 additions and 1 deletions
|
@ -65,7 +65,12 @@ function chosen(emoji: any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function opening() {
|
function opening() {
|
||||||
// picker.value?.reset();
|
try {
|
||||||
|
picker.value?.reset();
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
console.error(`Something's wrong with restting the emoji picker: ${e}`)
|
||||||
|
}
|
||||||
picker.value?.focus();
|
picker.value?.focus();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue