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

react-dd-menu-portal

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dd-menu-portal - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

dist/DropdownMenu.js

@@ -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",

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