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

react-native-popover-view

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-popover-view - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

14

dist/Popover.js

@@ -84,2 +84,8 @@ var __extends = (this && this.__extends) || (function () {

var DEBUG = false;
/*
* FIX_SHIFT resolves an issue with useNativeDriver, where it would flash the
* popover on and off really quickly, and then animate in normally. Now, because
* of the shift, the flash happens off screen, and then it is shifted on screen
* just before beginning the actual animation.
*/
var FIX_SHIFT = isWeb

@@ -965,9 +971,9 @@ ? 0

React.createElement(View, { pointerEvents: "box-none", style: { top: 0, left: 0 } },
geom.placement !== Placement.CENTER &&
React.createElement(Animated.View, { style: arrowViewStyle, ref: this.arrowRef },
React.createElement(Animated.View, { style: arrowInnerStyle })),
React.createElement(Animated.View, { style: popoverViewStyle, ref: this.popoverRef, onLayout: function (evt) {
var layout = __assign({}, evt.nativeEvent.layout);
setTimeout(function () { return _this._isMounted && _this.measureContent(layout); }, 10);
} }, this.props.children)))));
} }, this.props.children),
geom.placement !== Placement.CENTER &&
React.createElement(Animated.View, { style: arrowViewStyle, ref: this.arrowRef },
React.createElement(Animated.View, { style: arrowInnerStyle }))))));
};

@@ -974,0 +980,0 @@ return BasePopover;

{
"name": "react-native-popover-view",
"version": "4.0.0",
"version": "4.0.1",
"description": "A <Popover /> component for react-native iOS, Android, and Web",

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

Sorry, the diff of this file is not supported yet

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