You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,6 @@ npx pod-install
35
35
expo install @react-native-community/picker
36
36
```
37
37
38
-
39
38
### Basic Usage
40
39
41
40
```js
@@ -80,6 +79,7 @@ export const Dropdown = () => {
80
79
|`touchableWrapperProps`| Additional props to pass to the touchable wrapping the TextInput (some props are used in core functionality so use this carefully) | object |
81
80
|`onOpen`<br> | Callback triggered right before the opening of the picker<br>_Not supported when `useNativeAndroidPickerStyle={true}`_| function |
82
81
|`useNativeAndroidPickerStyle`<br>_Android only_| The component defaults to using the native Android Picker in its un-selected state. Setting this flag to `false` will mimic the default iOS presentation where a tappable TextInput is displayed.<br>_More details in [styling](#styling)_| boolean |
82
+
|`fixAndroidTouchableBug`<br>_Android only_| Experimental flag to fix issue [#354](https://github.com/lawnstarter/react-native-picker-select/issues/354)| boolean |
83
83
|`InputAccessoryView`<br>_iOS only_| Replace the InputAcessoryView section (bar with tabbing arrown and Done button) of the opened picker with your own custom component. Can also return `null` here to hide completely. While this bar is typical on `select` elements on the web, the [interface guidelines](https://developer.apple.com/ios/human-interface-guidelines/controls/pickers/) does not include it. View the [snack](https://snack.expo.io/@lfkwtz/react-native-picker-select) to see examples on how this can be customized. | Component |
84
84
|`doneText`<br>_iOS only_| "Done" default text on the modal. Can be overwritten here | string |
85
85
|`onUpArrow / onDownArrow`<br>_iOS only_| Presence enables the corresponding arrow<br>- Closes the picker<br>- Calls the callback provided | function |
0 commit comments