# Eigenaar wijzigen - geen focus meer op tekstvak

**URL:** https://meta.discourse.org/t/change-owner-no-focus-anymore-on-text-box/176567
**Category:** Bug
**Created:** [19 januari 2021 om 14:16 UTC](https://meta.discourse.org/t/change-owner-no-focus-anymore-on-text-box/176567 "2021-01-19T14:16:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![leopedrini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leopedrini/32/119430_2.png) [@leopedrini](https://meta.discourse.org/u/leopedrini)
#### Post date: [19 januari 2021 om 14:16 UTC](https://meta.discourse.org/t/change-owner-no-focus-anymore-on-text-box/176567/1 "2021-01-19T14:16:56Z")

</div>

Hello dears.

I’ve noticed that lately (not sure when it started), when we try to “Change Owner” of a topic, it don’t have the focus.

I mean, we need to move the mouse, and click the text box.

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/a/5a143797aca4a7ff03c4e993ddcb97306f89fec2.png)

The behavior before was, after choosing “Change Owner”, we could simply start typing (focus was already in the text box).

Not sure if this is a real bug, but i would like to have old behavior back. 🙂

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [19 januari 2021 om 17:52 UTC](https://meta.discourse.org/t/change-owner-no-focus-anymore-on-text-box/176567/2 "2021-01-19T17:52:19Z")

</div>

> [@leopedrini](#):
>
> Not sure if this is a real bug, but i would like to have old behavior back.

I can reproduce this on my site. I’m also not sure if this would be classified as a bug or a UX issue. One thing that could make it a bug is that when focus isn’t given to an input, it’s easy to accidentally trigger a Discourse keyboard command.

I’m also seeing the lack of focus issue on the form used to invite users to a PM. I’m using the latest Chrome browser on Ubuntu.

---

<div class="post-metadata">

### Author: ![leopedrini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leopedrini/32/119430_2.png) [@leopedrini](https://meta.discourse.org/u/leopedrini)
#### Post date: [19 januari 2021 om 18:06 UTC](https://meta.discourse.org/t/change-owner-no-focus-anymore-on-text-box/176567/3 "2021-01-19T18:06:27Z")

</div>

> [@simon](#):
>
> it’s easy to accidentally trigger a Discourse keyboard command

Yes. Exactly what happens to me all the time. 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [22 januari 2021 om 05:04 UTC](https://meta.discourse.org/t/change-owner-no-focus-anymore-on-text-box/176567/4 "2021-01-22T05:04:58Z")

</div>

As long as it doesn’t mess up mobile, I support fixing this @eviltrout

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [22 januari 2021 om 21:09 UTC](https://meta.discourse.org/t/change-owner-no-focus-anymore-on-text-box/176567/5 "2021-01-22T21:09:50Z")

</div>

I added a simple `autofocus` attribute which seems to work for this modal in a safe way:

[https://github.com/discourse/discourse/pull/11818](https://github.com/discourse/discourse/pull/11818)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [25 januari 2021 om 21:50 UTC](https://meta.discourse.org/t/change-owner-no-focus-anymore-on-text-box/176567/6 "2021-01-25T21:50:05Z")

</div>


