From 9b9f0a39260beac8b79d97662422fae6981e246d Mon Sep 17 00:00:00 2001 From: Jeroen Vlek Date: Thu, 20 Nov 2025 12:38:26 +0100 Subject: [PATCH] fix: add onpressin handler --- src/GooglePlacesTextInput.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GooglePlacesTextInput.tsx b/src/GooglePlacesTextInput.tsx index 8c7fd26..1c93e1b 100644 --- a/src/GooglePlacesTextInput.tsx +++ b/src/GooglePlacesTextInput.tsx @@ -542,6 +542,9 @@ const GooglePlacesTextInput = forwardRef< { backgroundColor }, style.suggestionItem, ]} + onPressIn={() => { + suggestionPressing.current = true; + }} onPress={() => { suggestionPressing.current = false; handleSuggestionPress(item);