Skip to content

Commit 9aba90c

Browse files
authored
Merge pull request #356 from hossein-zare/dev-5.x
v5.1.21
2 parents 1b3b586 + d1df21a commit 9aba90c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-dropdown-picker",
3-
"version": "5.1.20",
3+
"version": "5.1.21",
44
"description": "A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.",
55
"keywords": [
66
"picker",

src/components/Picker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function Picker({
251251
} else {
252252
initialization.current = true;
253253
}
254-
}, [value]);
254+
}, [value, items]);
255255

256256
/**
257257
* dropDownDirection changed.

0 commit comments

Comments
 (0)