Update textarea focus again
This commit is contained in:
parent
0710a0c951
commit
ace9bca81d
|
@ -31,6 +31,9 @@
|
||||||
isOpen = true
|
isOpen = true
|
||||||
await tick()
|
await tick()
|
||||||
textarea.focus()
|
textarea.focus()
|
||||||
|
if (value?.length > 100) {
|
||||||
|
textarea.setSelectionRange(0, 0)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const close = () => {
|
const close = () => {
|
||||||
|
|
Loading…
Reference in New Issue