Skip to content

Commit 67b3898

Browse files
committed
fix(#1999): Fix rendering of SearchAutocomplete "No results" option item
1 parent 4173325 commit 67b3898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-spectrum/autocomplete/src/SearchAutocomplete.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function _SearchAutocompleteBase<T extends object>(props: SpectrumSearchAutocomp
165165
isLoading={loadingState === 'loadingMore'}
166166
onLoadMore={onLoadMore}
167167
renderEmptyState={() => isAsync && (
168-
<span>
168+
<span className={classNames(searchAutocompleteStyles, 'no-results')}>
169169
{stringFormatter.format('noResults')}
170170
</span>
171171
)} />

0 commit comments

Comments
 (0)