Skip to content

Commit ee3ba41

Browse files
authored
fix #104 (#105)
1 parent 82d0c76 commit ee3ba41

File tree

4 files changed

+39
-11
lines changed

4 files changed

+39
-11
lines changed

example/components/ModalExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const ModalExample = memo(() => {
1010
<Button onPress={() => setOpened(prev => !prev)} title="Open modal" />
1111
<Modal visible={opened}>
1212
<AutocompleteDropdownContextProvider>
13-
<View style={{ paddingHorizontal: 20, flex: 1 }}>
13+
<View style={{ paddingHorizontal: 20, flex: 1, paddingTop: 40 }}>
1414
<RemoteDataSetExample />
1515
<Button onPress={() => setOpened(false)} title="Close modal" />
1616
</View>

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-autocomplete-dropdown-playground",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"author": "Alexandr Kozhevnikov <[email protected]>",
55
"license": "MIT",
66
"scripts": {
@@ -14,7 +14,7 @@
1414
"react": "18.2.0",
1515
"react-native": "0.72.6",
1616
"react-native-autocomplete-dropdown": "file:./..",
17-
"react-native-svg": "^13.0.0"
17+
"react-native-svg": "^14.0.0"
1818
},
1919
"devDependencies": {
2020
"@babel/core": "^7.20.0",

example/yarn.lock

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,6 +1622,18 @@
16221622
hermes-profile-transformer "^0.0.6"
16231623
ip "^1.1.5"
16241624

1625+
"@react-native-community/cli-platform-android@*":
1626+
version "13.2.0"
1627+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-13.2.0.tgz#0f972e0157595e59afae15c43ee15fc5c9992b14"
1628+
integrity sha512-+sbtMwc1yeR/mO3nrqJJh6iWVR17zXXNXb6gH5Sy0/YIQP3EhVgAHuTy8G0Vx1e2e9dTD67ChRhwd4il+jm6gQ==
1629+
dependencies:
1630+
"@react-native-community/cli-tools" "13.2.0"
1631+
chalk "^4.1.2"
1632+
execa "^5.0.0"
1633+
fast-xml-parser "^4.2.4"
1634+
glob "^7.1.3"
1635+
logkitty "^0.7.1"
1636+
16251637
"@react-native-community/[email protected]":
16261638
version "11.3.7"
16271639
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-11.3.7.tgz#7845bc48258b6bb55df208a23b3690647f113995"
@@ -1692,6 +1704,22 @@
16921704
semver "^7.5.2"
16931705
shell-quote "^1.7.3"
16941706

1707+
"@react-native-community/[email protected]":
1708+
version "13.2.0"
1709+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-13.2.0.tgz#4d7816f584f54be4dfbd2ffe89507921e0a12dbd"
1710+
integrity sha512-/w3L/iIoIxd4UKk0W2ZGWtuQ1OLkTXtVDxduiuriszv4cB+QUxFgNXEqNLKV1TA5POlG3prSVlXuDDVt9Nq5iw==
1711+
dependencies:
1712+
appdirsjs "^1.2.4"
1713+
chalk "^4.1.2"
1714+
find-up "^5.0.0"
1715+
mime "^2.4.1"
1716+
node-fetch "^2.6.0"
1717+
open "^6.2.0"
1718+
ora "^5.4.1"
1719+
semver "^7.5.2"
1720+
shell-quote "^1.7.3"
1721+
sudo-prompt "^9.0.0"
1722+
16951723
"@react-native-community/[email protected]":
16961724
version "11.3.7"
16971725
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-11.3.7.tgz#12fe7cff3da08bd27e11116531b2e001939854b9"
@@ -3455,7 +3483,7 @@ fast-levenshtein@^2.0.6:
34553483
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
34563484
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
34573485

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

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

5752-
react-native-svg@^13.0.0:
5753-
version "13.14.0"
5754-
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-13.14.0.tgz#879930cfe10e877e51ebb77dfcc2cd65fc6b0d21"
5755-
integrity sha512-27ZnxUkHgWICimhuj6MuqBkISN53lVvgWJB7pIypjXysAyM+nqgQBPh4vXg+7MbqLBoYvR4PiBgKfwwGAqVxHg==
5780+
react-native-svg@^14.0.0:
5781+
version "14.1.0"
5782+
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-14.1.0.tgz#7903bddd3c71bf3a8a503918253c839e6edaa724"
5783+
integrity sha512-HeseElmEk+AXGwFZl3h56s0LtYD9HyGdrpg8yd9QM26X+d7kjETrRQ9vCjtxuT5dCZEIQ5uggU1dQhzasnsCWA==
57565784
dependencies:
57575785
css-select "^5.1.0"
57585786
css-tree "^1.1.3"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-autocomplete-dropdown",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"description": "Dropdown Item picker with search and autocomplete (typeahead) functionality for react native",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
@@ -42,7 +42,7 @@
4242
"peerDependencies": {
4343
"react": "*",
4444
"react-native": ">=0.60.0",
45-
"react-native-svg": "^13.0.0"
45+
"react-native-svg": ">=13.0.0"
4646
},
4747
"dependencies": {
4848
"lodash.debounce": "*",

0 commit comments

Comments
 (0)