UI – Prevent loss of focus on Software titles table search field (#16917)

## 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 <jacob@fleetdm.com>
This commit is contained in:
Jacob Shandling 2024-02-16 07:56:56 -08:00 committed by GitHub
parent 05cfc3a364
commit dd9a755f69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -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.

View file

@ -114,10 +114,6 @@ const SoftwareTitles = ({
}
);
if (isTitlesFetching) {
return <Spinner />;
}
if (isTitlesError || isVersionsError) {
return <TableDataError className={`${baseClass}__table-error`} />;
}