react-native-popover-view
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
287716
3902