react-dd-menu-portal
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -135,3 +135,3 @@ 'use strict'; | ||
portalWidth: portalNodeRect ? portalNodeRect.width : window.outerWidth, | ||
dropdownTopOffset: (portalNodeRect ? top - portalNodeRect.top : top) + (nextProps.portalNode ? nextProps.fixed ? 0 : nextProps.portalNode.scrollTop : 0), | ||
dropdownTopOffset: (portalNodeRect && !nextProps.fixed ? top - portalNodeRect.top : top) + (nextProps.portalNode ? nextProps.fixed ? 0 : nextProps.portalNode.scrollTop : 0), | ||
dropdownLeftOffset: (portalNodeRect ? left - portalNodeRect.left : left) + nextProps.xOffset, | ||
@@ -138,0 +138,0 @@ dropdownRightOffset: portalNodeRect ? portalNodeRect.right - right : right, |
{ | ||
"name": "react-dd-menu-portal", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "A fork of react-dd-menu built with React portals to hoist dropdown menus in the DOM.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
95522