fix auto-focus for dialog compose
This commit is contained in:
parent
760cafdeff
commit
b17b554965
|
@ -61,7 +61,7 @@
|
||||||
if (firstTime) {
|
if (firstTime) {
|
||||||
firstTime = false
|
firstTime = false
|
||||||
if (this.get('autoFocus')) {
|
if (this.get('autoFocus')) {
|
||||||
textarea.focus()
|
requestAnimationFrame(() => textarea.focus())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue