1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Update textarea focus again

This commit is contained in:
Andrew Kingston 2023-04-22 16:42:26 +01:00
parent 0710a0c951
commit ace9bca81d

View file

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