# ウェルカムバナーの検索入力、結果を選択するとフォーカスが外れる

**URL:** <https://meta.discourse.org/t/the-welcome-banner-search-input-loses-focus-after-selecting-a-result/359934>\
**Category:** UX\
**Tags:** search, accessibility\
**Created:** [2025 年 4 月 1 日午後 11:52 UTC](https://meta.discourse.org/t/the-welcome-banner-search-input-loses-focus-after-selecting-a-result/359934 "2025-04-01T23:52:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [2025 年 4 月 1 日午後 11:52 UTC](https://meta.discourse.org/t/the-welcome-banner-search-input-loses-focus-after-selecting-a-result/359934/1 "2025-04-01T23:52:55Z")

</div>

ウェルカムバナーで検索を入力すると、候補結果を選択した後にフォーカスが失われます。クリアボタンを使用した場合にも、この問題が発生します。

代わりに、コンソールに次のエラーがスローされます。

 ![The image shows an error message stack trace indicating a "TypeError: Cannot read properties of null" due to a scenario where a focus search input fails to provide a value. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/7/e/0/7e0bebe31c6cb334be0f5539c577de32bf0cb6ae.png)

s[/s] EDIT: Martinがすでに修正のためのPRを用意しています。

---

_[View the full topic](https://meta.discourse.org/t/the-welcome-banner-search-input-loses-focus-after-selecting-a-result/359934)._
