mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-07 23:38:48 +01:00
refs #3300 Fix focus of NewToot modal
This commit is contained in:
parent
27dcbe4b9e
commit
87bc8b8ffc
@ -151,10 +151,12 @@ export default defineComponent({
|
||||
})
|
||||
onMounted(() => {
|
||||
nextTick(() => {
|
||||
setTimeout(() => {
|
||||
statusRef.value?.focus()
|
||||
if (fixCursorPos.value) {
|
||||
statusRef.value?.setSelectionRange(0, 0)
|
||||
}
|
||||
}, 500)
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user