Skip to content

Commit

Permalink
fix #104 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
onmotion authored Jan 1, 2024
1 parent 82d0c76 commit ee3ba41
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 11 deletions.
2 changes: 1 addition & 1 deletion example/components/ModalExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const ModalExample = memo(() => {
<Button onPress={() => setOpened(prev => !prev)} title="Open modal" />
<Modal visible={opened}>
<AutocompleteDropdownContextProvider>
<View style={{ paddingHorizontal: 20, flex: 1 }}>
<View style={{ paddingHorizontal: 20, flex: 1, paddingTop: 40 }}>
<RemoteDataSetExample />
<Button onPress={() => setOpened(false)} title="Close modal" />
</View>
Expand Down
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-autocomplete-dropdown-playground",
"version": "3.1.1",
"version": "3.1.2",
"author": "Alexandr Kozhevnikov <onmotion1@gmail.com>",
"license": "MIT",
"scripts": {
Expand All @@ -14,7 +14,7 @@
"react": "18.2.0",
"react-native": "0.72.6",
"react-native-autocomplete-dropdown": "file:./..",
"react-native-svg": "^13.0.0"
"react-native-svg": "^14.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand Down
40 changes: 34 additions & 6 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1622,6 +1622,18 @@
hermes-profile-transformer "^0.0.6"
ip "^1.1.5"

"@react-native-community/cli-platform-android@*":
version "13.2.0"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-13.2.0.tgz#0f972e0157595e59afae15c43ee15fc5c9992b14"
integrity sha512-+sbtMwc1yeR/mO3nrqJJh6iWVR17zXXNXb6gH5Sy0/YIQP3EhVgAHuTy8G0Vx1e2e9dTD67ChRhwd4il+jm6gQ==
dependencies:
"@react-native-community/cli-tools" "13.2.0"
chalk "^4.1.2"
execa "^5.0.0"
fast-xml-parser "^4.2.4"
glob "^7.1.3"
logkitty "^0.7.1"

"@react-native-community/cli-platform-android@11.3.7":
version "11.3.7"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-11.3.7.tgz#7845bc48258b6bb55df208a23b3690647f113995"
Expand Down Expand Up @@ -1692,6 +1704,22 @@
semver "^7.5.2"
shell-quote "^1.7.3"

"@react-native-community/cli-tools@13.2.0":
version "13.2.0"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-13.2.0.tgz#4d7816f584f54be4dfbd2ffe89507921e0a12dbd"
integrity sha512-/w3L/iIoIxd4UKk0W2ZGWtuQ1OLkTXtVDxduiuriszv4cB+QUxFgNXEqNLKV1TA5POlG3prSVlXuDDVt9Nq5iw==
dependencies:
appdirsjs "^1.2.4"
chalk "^4.1.2"
find-up "^5.0.0"
mime "^2.4.1"
node-fetch "^2.6.0"
open "^6.2.0"
ora "^5.4.1"
semver "^7.5.2"
shell-quote "^1.7.3"
sudo-prompt "^9.0.0"

"@react-native-community/cli-types@11.3.7":
version "11.3.7"
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-11.3.7.tgz#12fe7cff3da08bd27e11116531b2e001939854b9"
Expand Down Expand Up @@ -3455,7 +3483,7 @@ fast-levenshtein@^2.0.6:
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==

fast-xml-parser@^4.0.12:
fast-xml-parser@^4.0.12, fast-xml-parser@^4.2.4:
version "4.3.2"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.3.2.tgz#761e641260706d6e13251c4ef8e3f5694d4b0d79"
integrity sha512-rmrXUXwbJedoXkStenj1kkljNF7ugn5ZjR9FJcwmCfcCbtOMDghPajbc+Tck6vE6F5XsDmx+Pr2le9fw8+pXBg==
Expand Down Expand Up @@ -5732,7 +5760,7 @@ react-native-animatable@^1.3.3:
prop-types "^15.8.1"

"react-native-autocomplete-dropdown@file:./..":
version "3.1.0"
version "3.1.1"
dependencies:
lodash.debounce "*"
react-native-animatable "^1.3.3"
Expand All @@ -5749,10 +5777,10 @@ react-native-size-matters@^0.4.0:
resolved "https://registry.yarnpkg.com/react-native-size-matters/-/react-native-size-matters-0.4.2.tgz#4348bdd6fc47383f60326d58ad69870c998a5f9a"
integrity sha512-DKE3f/sdcozd24oASgkP1iGg+YU3HoajRa5k3a4wkRzpiqREq8SGX12Y5zBgAt/8IivLQoTMYkyQu1/Giuy+zQ==

react-native-svg@^13.0.0:
version "13.14.0"
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-13.14.0.tgz#879930cfe10e877e51ebb77dfcc2cd65fc6b0d21"
integrity sha512-27ZnxUkHgWICimhuj6MuqBkISN53lVvgWJB7pIypjXysAyM+nqgQBPh4vXg+7MbqLBoYvR4PiBgKfwwGAqVxHg==
react-native-svg@^14.0.0:
version "14.1.0"
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-14.1.0.tgz#7903bddd3c71bf3a8a503918253c839e6edaa724"
integrity sha512-HeseElmEk+AXGwFZl3h56s0LtYD9HyGdrpg8yd9QM26X+d7kjETrRQ9vCjtxuT5dCZEIQ5uggU1dQhzasnsCWA==
dependencies:
css-select "^5.1.0"
css-tree "^1.1.3"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-autocomplete-dropdown",
"version": "3.1.1",
"version": "3.1.2",
"description": "Dropdown Item picker with search and autocomplete (typeahead) functionality for react native",
"main": "src/index.js",
"typings": "src/index.d.ts",
Expand Down Expand Up @@ -42,7 +42,7 @@
"peerDependencies": {
"react": "*",
"react-native": ">=0.60.0",
"react-native-svg": "^13.0.0"
"react-native-svg": ">=13.0.0"
},
"dependencies": {
"lodash.debounce": "*",
Expand Down

0 comments on commit ee3ba41

Please sign in to comment.