# Regression: edit reason input not autofocussed

**URL:** <https://meta.discourse.org/t/regression-edit-reason-input-not-autofocussed/64779>\
**Category:** Bug\
**Created:** [2017 年 6 月 20 日午前 2:08 UTC](https://meta.discourse.org/t/regression-edit-reason-input-not-autofocussed/64779 "2017-06-20T02:08:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2018 年 6 月 13 日午前 8:32 UTC](https://meta.discourse.org/t/regression-edit-reason-input-not-autofocussed/64779/4 "2018-06-13T08:32:45Z")

</div>

I’m not actually sure it “regressed” as in the code didn’t change, we still have autofocus on the input and it’s still working for me “the first time” but not on the second time.

I just pushed a commit which will make this kind of behaviour much more reliable:

[https://github.com/discourse/discourse/commit/4e0c06a0b16acaf88c3899f829636ac0f1a254a9](https://github.com/discourse/discourse/commit/4e0c06a0b16acaf88c3899f829636ac0f1a254a9)

---

_[View the full topic](https://meta.discourse.org/t/regression-edit-reason-input-not-autofocussed/64779)._
