Skip to content

Commit 1d7d5c7

Browse files
author
maksymkordiyak
committed
2 parents 510cb75 + 1e14378 commit 1d7d5c7

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.all-contributorsrc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"files": [
3+
"README.md"
4+
],
5+
"imageSize": 100,
6+
"commit": false,
7+
"contributors": [
8+
{
9+
"login": "PaitoAnderson",
10+
"name": "Paito Anderson",
11+
"avatar_url": "https://avatars0.githubusercontent.com/u/4108718?v=4",
12+
"profile": "https://paitoanderson.com/",
13+
"contributions": [
14+
"code"
15+
]
16+
}
17+
],
18+
"contributorsPerLine": 7,
19+
"projectName": "react-native-dropdown-autocomplete",
20+
"projectOwner": "maxkordiyak",
21+
"repoType": "github",
22+
"repoHost": "https://github.com"
23+
}

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
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)
23
[npm-url]: https://www.npmjs.com/package/react-native-dropdown-autocomplete
34
[npm-downloads]: https://img.shields.io/npm/dt/react-native-dropdown-autocomplete.svg?colorA=6b7c93&colorB=5ab1b8&style=flat-square
45
# react-native-dropdown-autocomplete
@@ -175,3 +176,19 @@ Change valueExtractor and pass the data to Autocomplete without fetchDataUrl
175176
**[Maksym Kordiyak](https://github.com/maxkordiyak)**
176177

177178
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.
179+
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)