fix auto-focus for dialog compose

This commit is contained in:
Nolan Lawson 2018-04-04 19:49:05 -07:00
parent 760cafdeff
commit b17b554965

View file

@ -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())
} }
} }
}) })