# Pressing "Add edit reason" button does not auto-focus into the text field

**URL:** <https://meta.discourse.org/t/pressing-add-edit-reason-button-does-not-auto-focus-into-the-text-field/39140>\
**Category:** Bug\
**Created:** [6 فبراير 2016، 9:17ص UTC](https://meta.discourse.org/t/pressing-add-edit-reason-button-does-not-auto-focus-into-the-text-field/39140 "2016-02-06T09:17:30Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [24 مارس 2016، 3:21ص UTC](https://meta.discourse.org/t/pressing-add-edit-reason-button-does-not-auto-focus-into-the-text-field/39140/6 "2016-03-24T03:21:54Z")

</div>

> [@GaurangTandon](#):
>
> Oh, is Discourse using the Model View Controller kind of practice?

“Yes” would be an extreme understatement.

My simplified answer would be  
Discourse has a Rails backend (and yes, Rails is MVC)  
with an Ember frontend (and yes, Ember is MVC)

Most of what I have exploring is es6 (a flavor of JavaScript) and some hbs (handlebars/htmlbars templates) files so I would recommend the [Ember documentation](https://guides.emberjs.com/v2.4.0/).  
There is a lot there, almost overwhelmingly so (for me anyway), but it will definitely help you get your toes wet.

---

_[View the full topic](https://meta.discourse.org/t/pressing-add-edit-reason-button-does-not-auto-focus-into-the-text-field/39140)._
