Socket
Socket
Sign inDemoInstall

react-native-modal

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-modal - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

package.json
{
"name": "react-native-modal",
"version": "3.0.0",
"version": "3.0.1",
"description": "An enhanced React-Native modal",

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

@@ -45,4 +45,4 @@ import React, { Component } from 'react';

isVisible: false,
hideOnBack: true,
hideOnBackdropPress: true,
hideOnBack: false,
hideOnBackdropPress: false,
onBackdropPress: () => null,

@@ -129,6 +129,6 @@ onBackButtonPress: () => null,

if (this.props.hideOnBackdropPress) {
this._close()
this._close();
}
this.props.onBackdropPress()
}
this.props.onBackdropPress();
};

@@ -176,3 +176,7 @@ render() {

ref={ref => (this.contentRef = ref)}
style={[{ margin: deviceWidth * 0.05, transform: [{translateY: 0}] }, styles.content, style]}
style={[
{ margin: deviceWidth * 0.05, transform: [{ translateY: 0 }] },
styles.content,
style,
]}
pointerEvents="box-none"

@@ -179,0 +183,0 @@ {...otherProps}

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