From dd9a755f69b1a876bfb115744c7bdeed53dcafa8 Mon Sep 17 00:00:00 2001 From: Jacob Shandling <61553566+jacobshandling@users.noreply.github.com> Date: Fri, 16 Feb 2024 07:56:56 -0800 Subject: [PATCH] =?UTF-8?q?UI=20=E2=80=93=20Prevent=20loss=20of=20focus=20?= =?UTF-8?q?on=20Software=20titles=20table=20search=20field=20(#16917)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Addresses #16752 https://www.loom.com/share/10553b9c763541bfbda3da415d72afea?sid=68aa17d0-6868-4a9b-9072-d1079a2ce95e - [x] Changes file added for user-visible changes in `changes/` - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling --- changes/16752-blur-on-software-search | 2 ++ frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTitles.tsx | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 changes/16752-blur-on-software-search diff --git a/changes/16752-blur-on-software-search b/changes/16752-blur-on-software-search new file mode 100644 index 0000000000..ef80c99a39 --- /dev/null +++ b/changes/16752-blur-on-software-search @@ -0,0 +1,2 @@ +- Fix a bug where updating the search field for the Software titles page caused an unwanted loss of + focus from the search field on rerender. diff --git a/frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTitles.tsx b/frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTitles.tsx index 1e90194418..ae35c2eb98 100644 --- a/frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTitles.tsx +++ b/frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTitles.tsx @@ -114,10 +114,6 @@ const SoftwareTitles = ({ } ); - if (isTitlesFetching) { - return ; - } - if (isTitlesError || isVersionsError) { return ; }