Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-modal-dropdown

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-modal-dropdown - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

8

components/ModalDropdown.js

@@ -99,6 +99,2 @@ /**

updatePosition() {
console.warn(`[ModalDropdown]'updatePosition' is depreciated. You don't need to call this function anymore and it will do nothing. This function will be removed in next version.`);
}
_updatePosition(callback) {

@@ -198,3 +194,3 @@ if (this._button && this._button.measure) {

let dropdownHeight = (this.props.dropdownStyle && StyleSheet.flatten(this.props.dropdownStyle.height)) ||
let dropdownHeight = (this.props.dropdownStyle && StyleSheet.flatten(this.props.dropdownStyle).height) ||
StyleSheet.flatten(styles.dropdown).height;

@@ -350,2 +346,2 @@

}
});
});
{
"name": "react-native-modal-dropdown",
"version": "0.3.0",
"version": "0.3.1",
"description": "A react-native dropdown component for both iOS and Android.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,3 +11,3 @@ [![npm version](https://badge.fury.io/js/react-native-modal-dropdown.svg)](https://badge.fury.io/js/react-native-modal-dropdown)

- Zero configuration. (Options are needed of course or a loading indicator will show.)
- Highly customizable.
- Highly customizable.
- Controllable with API by code. (Show/Hide/Select)

@@ -19,3 +19,3 @@ - Change everything into a dropdown list trigger.

<img src="https://github.com/sohobloo/react-native-modal-dropdown/blob/master/docs/demo_2.gif?raw=true" width = "160" height = "287.5" alt="Demo 2"/>
<img src="https://github.com/sohobloo/react-native-modal-dropdown/blob/master/docs/demo_3.gif?raw=true" width = "160" height = "287.5" alt="Demo 3"/>
<img src="https://github.com/sohobloo/react-native-modal-dropdown/blob/master/docs/demo_3.gif?raw=true" width = "160" height = "287.5" alt="Demo 3"/>

@@ -26,2 +26,6 @@ You can find them in the example.

### v3.0.1
- Fix bug: [\#6](https://github.com/sohobloo/react-native-modal-dropdown/issues/6) Can not specify `height` style for `dropdownStyle`.
- Remove `updatePosition` function.
### v0.3.0

@@ -28,0 +32,0 @@ - Auto update position before show.

Sorry, the diff of this file is not supported yet

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