New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-country-codes-picker

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-country-codes-picker - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

12

components/CountryPicker.jsx

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc