-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Hello guys!
I found an issue that might be only reproducable on the iOS simulator, but I noticed that the iOS simulator doesn't allow the user to move the cursor by touching the input field in a different position.
Here's a patch to fix this:
diff --git a/node_modules/react-native-autocomplete-dropdown/src/index.tsx b/node_modules/react-native-autocomplete-dropdown/src/index.tsx
index 8494040..3da7fee 100644
--- a/node_modules/react-native-autocomplete-dropdown/src/index.tsx
+++ b/node_modules/react-native-autocomplete-dropdown/src/index.tsx
@@ -501,7 +501,7 @@ export const AutocompleteDropdown = memo<
{LeftComponent}
<Pressable
style={styles.pressable}
- pointerEvents={Platform.select({ ios: 'box-only', default: 'auto' })}
+ pointerEvents={Platform.select({ default: 'auto' })}
onPressOut={onPressOut}>
<InputComponent
ref={inputRef}I'm not sure why a box-only option is chosen for the iOS pointer events, but there you go.
Cheers!
PrathameshTI and manosKas
Metadata
Metadata
Assignees
Labels
No labels