{"repo":"byteburgers/react-native-autocomplete-input","free":true,"listed":false,"github":"https://github.com/byteburgers/react-native-autocomplete-input","clone":"git clone https://github.com/byteburgers/react-native-autocomplete-input.git","description":"Pure javascript autocomplete input for react-native","language":"TypeScript","stars":871,"topics":["autocomplete","react-native","ios","android","input","javascript","typescript"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-autocomplete-input A pure JS autocomplete component for React Native written in TypeScript. Use this component in your own projects or use it as inspiration to build your own autocomplete. Play around with the Example Snack Installation Example Android Android does not support overflows (#20), for that reason it is necessary to wrap the autocomplete into a absolute positioned view on Android. This will allow the suggestion list to overlap other views inside your component. Props Prop Type Description :------------ :---------------: :----- containerStyle style These styles will be applied to the container which surrounds the autocomplete component. hideResults bool Set to true to hide the suggestion list. data array An array of suggestion items. Any array with length 0 will open the suggestion list and any array with length . Set the scroll view's prop to fix this: keyboardShouldPersistTaps={true} for RN = 0.40. (#5). Alternatively, you can use renderResultList to render a custom result list that does not use FlatList. See the tests for an example. If you want to test with Jest add to your test. Contribute Feel free to open issues or submit a PR! Local development","default_branch":null,"files":null,"tree":[],"storefront":"/r/byteburgers","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/byteburgers/react-native-autocomplete-input/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}