Update textarea focus again

This commit is contained in:
Andrew Kingston 2023-04-22 16:42:26 +01:00
parent 0710a0c951
commit ace9bca81d
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@
isOpen = true
await tick()
textarea.focus()
if (value?.length > 100) {
textarea.setSelectionRange(0, 0)
}
}
const close = () => {