Skip to content

Commit 47bbd2e

Browse files
committed
feat: add react namespaced class on TextAreaComposer SuggestionList
1 parent 081376b commit 47bbd2e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/components/TextAreaComposer/SuggestionList.tsx

+7-2
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,14 @@ export const SuggestionList = <
201201
return (
202202
<InfiniteScrollPaginator
203203
loadNextOnScrollToBottom={suggestions.searchSource.search}
204-
threshold={40}
204+
threshold={100}
205205
>
206-
<ul className={clsx('str-chat__suggestion-list', className)}>
206+
<ul
207+
className={clsx(
208+
'str-chat__suggestion-list str-chat__suggestion-list--react',
209+
className,
210+
)}
211+
>
207212
{items.map((item, i) => (
208213
<AutocompleteSuggestionItem
209214
// @ts-expect-error type mismatch

0 commit comments

Comments
 (0)