react-native-country-codes-picker
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -65,3 +65,3 @@ import React from 'react'; | ||
toValue: keyboardStatus.keyboardHeight, | ||
duration: 400, | ||
duration: 290, | ||
easing: Easing.ease, | ||
@@ -74,3 +74,3 @@ useNativeDriver: false | ||
toValue: 0, | ||
duration: 400, | ||
duration: 290, | ||
easing: Easing.ease, | ||
@@ -80,3 +80,3 @@ useNativeDriver: false | ||
} | ||
},[keyboardStatus.isOpen]) | ||
},[keyboardStatus.isOpen]); | ||
@@ -149,3 +149,2 @@ const resultCountries = React.useMemo(() => { | ||
<FlatList | ||
// ToDo add showing new countries only when fat list is scrolling using onScroll | ||
showsVerticalScrollIndicator={false} | ||
@@ -217,6 +216,9 @@ data={resultCountries || countryCodes} | ||
elevation: 12, | ||
elevation: 10, | ||
}, | ||
modalInner: { | ||
backgroundColor: 'white', | ||
width: '100%', | ||
zIndex: 100, | ||
elevation: 10, | ||
}, | ||
@@ -223,0 +225,0 @@ searchBar: { |
{ | ||
"name": "react-native-country-codes-picker", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "This lib. provide country iso picker with search functionality", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -75,3 +75,5 @@ # react-native-country-codes-picker | ||
| searchMessage | string | | searchMessage={'Some search message here'} | If you want to customize search message just use this prop. | | ||
| lang | string | 'en' | lang={'pl'} | If you need to change the lang. just put one of supported lang. Or if you didn't find required lang just add them and make a PR :) | | ||
| lang | string | 'en' | lang={'pl'} | If you need to change the lang. just put one of supported lang. Or if you didn't find required lang just add them and make a PR :) | | ||
| enableModalAvoiding | boolean | false | enableModalAvoiding={true} | Is modal should avoid keyboard ? On android to work required to use with androidWindowSoftInputMode with value pan, by default android will avoid keyboard by itself | | ||
| androidWindowSoftInputMode | string | | androidWindowSoftInputMode={'pan'} | Basicaly android avoid keyboard by itself, if you want to use custom avoiding you may use this prop | | ||
| style | Object | | style={{yoursStylesHere}} | If you want to change styles for component you probably need this props. You can check the styling part below. | | ||
@@ -78,0 +80,0 @@ |
96310
3437
135