fix: 🔊 log emoji picker errors
This commit is contained in:
parent
ba6502a45b
commit
3db785444a
|
@ -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 New Issue