From e902c72d89c25271bd9115d65dc0bfcebe73c841 Mon Sep 17 00:00:00 2001 From: Pujan Date: Tue, 9 Jan 2024 17:48:34 +0530 Subject: [PATCH] added renderSuggestionMenuItem in flashlist extraData --- .../AutoCompleteSuggestions/BaseAutoCompleteSuggestions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AutoCompleteSuggestions/BaseAutoCompleteSuggestions.tsx b/src/components/AutoCompleteSuggestions/BaseAutoCompleteSuggestions.tsx index fc3bf4659bd7..5da9c6981603 100644 --- a/src/components/AutoCompleteSuggestions/BaseAutoCompleteSuggestions.tsx +++ b/src/components/AutoCompleteSuggestions/BaseAutoCompleteSuggestions.tsx @@ -107,7 +107,7 @@ function BaseAutoCompleteSuggestions( keyExtractor={keyExtractor} removeClippedSubviews={false} showsVerticalScrollIndicator={innerHeight > rowHeight.value} - extraData={highlightedSuggestionIndex} + extraData={[highlightedSuggestionIndex, renderSuggestionMenuItem]} />