# UI bug with list settings component

**URL:** https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157
**Category:** Bug
**Created:** [July 6, 2022, 11:16pm UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157 "2022-07-06T23:16:52Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![hierocles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hierocles/32/259512_2.png) [@hierocles](https://meta.discourse.org/u/hierocles)
#### Post date: [July 6, 2022, 11:16pm UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/1 "2022-07-06T23:16:52Z")

</div>

For any list-based setting (not sure what the Ember terminology is), there is a bug where clicking the input box and then clicking out of it will replace the contents with “[object FocusEvent]”. This occurs in Safari and Chrome (running on macOS) on a clean install of 2.9.0.beta6 with no plugins. No errors are reported in the logs or any messages in the browser console.

Steps to reproduce (this can be reproduced anywhere using a similar list setting component)

1. Go to Settings: Basic Setup
2. Click the input box of the “post menu” setting
3. Click anywhere outside the input box

Screen recording:

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [July 6, 2022, 11:44pm UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/2 "2022-07-06T23:44:41Z")

</div>

I’m failing to repo on commit [408ce1312b](https://github.com/discourse/discourse/commits/408ce1312b06405541106d2c25c309b0eda7c659).

![[video-to-gif output image]](https://global.discourse-cdn.com/meta/original/4X/e/2/e/e2e922288c8bdeacbb1fcf3b28467246e553fc22.gif)

---

<div class="post-metadata">

### Author: ![hierocles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hierocles/32/259512_2.png) [@hierocles](https://meta.discourse.org/u/hierocles)
#### Post date: [July 7, 2022, 12:12am UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/3 "2022-07-07T00:12:44Z")

</div>

This is occurring for me on a fresh install of commit [d1a15d4f8d](https://github.com/discourse/discourse/commits/d1a15d4f8d163a12b884e96c0aa0c8860b92e1a6), so hopefully that narrows down finding the cause.

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [July 7, 2022, 12:17am UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/4 "2022-07-07T00:17:57Z")

</div>

Very strange, I am on that same repo now repo and still can’t reproduce that bug.

---

<div class="post-metadata">

### Author: ![hierocles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hierocles/32/259512_2.png) [@hierocles](https://meta.discourse.org/u/hierocles)
#### Post date: [July 7, 2022, 12:48am UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/5 "2022-07-07T00:48:04Z")

</div>

Wondering if this is a relevant change, given the issue I’m having is specific to the change in focus in value-list component.

[https://github.com/discourse/discourse/commit/c3fd91670e30bb70a2e0617be3faff41edaba1ba#diff-795de1de5c68c2b1470d7a4cd2d52126fee7c31d2b25db3f60c655ef7c1aef4a](https://github.com/discourse/discourse/commit/c3fd91670e30bb70a2e0617be3faff41edaba1ba#diff-795de1de5c68c2b1470d7a4cd2d52126fee7c31d2b25db3f60c655ef7c1aef4a)

Outside of completely removing and reinstalling another fresh copy, I’m not sure what other troubleshooting I can do here unfortunately.

---

<div class="post-metadata">

### Author: ![hierocles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hierocles/32/259512_2.png) [@hierocles](https://meta.discourse.org/u/hierocles)
#### Post date: [July 7, 2022, 8:20pm UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/6 "2022-07-07T20:20:55Z")

</div>

To confirm this, I downgraded to a commit from July 5. This issue does not occur for me when running [6c49ec39ea](https://github.com/discourse/discourse/commits/6c49ec39ea520195e00d31d57da33608af278d65).

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [July 8, 2022, 2:36am UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/7 "2022-07-08T02:36:35Z")

</div>

Hmm, I can now reproduce this, commit [201228162c](https://github.com/discourse/discourse/commits/201228162c277b9833bb2988388553fdbfb39521). For me this is happening on component settings page.

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/5/d/05d63260e84d69c3d2a509e483136788175555c6.png)

---

<div class="post-metadata">

### Author: ![cvx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cvx/32/152146_2.png) [@cvx](https://meta.discourse.org/u/cvx)
#### Post date: [July 8, 2022, 11:00am UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/13 "2022-07-08T11:00:59Z")

</div>

Fixed in [FIX: Inputs using focusout regressed in #17345 by cvx · Pull Request #17389 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/17389)

Thank you all for reporting!

---

<div class="post-metadata">

### Author: ![cvx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cvx/32/152146_2.png) [@cvx](https://meta.discourse.org/u/cvx)
#### Post date: [July 10, 2022, 2:16am UTC](https://meta.discourse.org/t/ui-bug-with-list-settings-component/232157/15 "2022-07-10T02:16:02Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
