Skip to content

Commit d8a1f9a

Browse files
author
maksymkordiyak
committed
Fix readme styling
1 parent 1d7d5c7 commit d8a1f9a

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
[npm-badge]: https://img.shields.io/npm/v/react-native-dropdown-autocomplete.svg?colorA=6b7c93&colorB=5ab1b8&style=flat-square
2-
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors)
32
[npm-url]: https://www.npmjs.com/package/react-native-dropdown-autocomplete
43
[npm-downloads]: https://img.shields.io/npm/dt/react-native-dropdown-autocomplete.svg?colorA=6b7c93&colorB=5ab1b8&style=flat-square
54
# react-native-dropdown-autocomplete
65

76
[![npm][npm-badge]][npm-url] [![npm][npm-downloads]][npm-url]
87

8+
## Contributors ✨
9+
10+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
11+
12+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
13+
<!-- prettier-ignore -->
14+
<table>
15+
<tr>
16+
<td align="center"><a href="https://paitoanderson.com/"><img src="https://avatars0.githubusercontent.com/u/4108718?v=4" width="100px;" alt="Paito Anderson"/><br /><sub><b>Paito Anderson</b></sub></a><br /><a href="https://github.com/maxkordiyak/react-native-dropdown-autocomplete/commits?author=PaitoAnderson" title="Code">💻</a></td>
17+
</tr>
18+
</table>
19+
20+
<!-- ALL-CONTRIBUTORS-LIST:END -->
21+
922
Based on https://bit.ly/2AFjUsj, the most significant advantage of this package among all others is that you can have multiple autocomplete's on your page after following instructions below. Works on Android and IOS.
1023
<p align="center">
1124
<img src="https://media.giphy.com/media/AS6Ts8m31qVFNpVHUZ/giphy.gif" alt="Autocomplete demo">
@@ -177,18 +190,3 @@ Change valueExtractor and pass the data to Autocomplete without fetchDataUrl
177190

178191
While developing our react-native application I found out that there's no autocomplete library available which can satisfy a need for > 1 autocomplete on a page. Styles were overlapping and due to position: "absolute" we weren't able to actually trigger TouchableOpacity on an element from the list on android device. We used a library which provides dropdown with auto-adjusting position using measureInWindow on a ref, we tweaked it a bit and with autocomplete input and time-slicing implementation we managed to get what we need. Still we can't interact with TextInput component while dropdown is opened but this is the best result we got using React Native Modal.
179192

180-
## Contributors ✨
181-
182-
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
183-
184-
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
185-
<!-- prettier-ignore -->
186-
<table>
187-
<tr>
188-
<td align="center"><a href="https://paitoanderson.com/"><img src="https://avatars0.githubusercontent.com/u/4108718?v=4" width="100px;" alt="Paito Anderson"/><br /><sub><b>Paito Anderson</b></sub></a><br /><a href="https://github.com/maxkordiyak/react-native-dropdown-autocomplete/commits?author=PaitoAnderson" title="Code">💻</a></td>
189-
</tr>
190-
</table>
191-
192-
<!-- ALL-CONTRIBUTORS-LIST:END -->
193-
194-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

0 commit comments

Comments
 (0)