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

react-tiny-popover

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tiny-popover - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

dist/index.js

@@ -206,2 +206,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

_this.popoverDiv.style.top = nudgedTop.toFixed() + "px";
_this.popoverDiv.style.width = null;
_this.popoverDiv.style.height = null;
}

@@ -225,2 +227,3 @@ else {

height = rect.height - (padding - top_1);
width = rect.width - (left - nudgedLeft);
}

@@ -230,4 +233,7 @@ if (leftCollision) {

width = rect.width - (padding - left);
height = rect.height - (topCollision ? (padding - top_1) : (top_1 - nudgedTop));
}
}
height = height < 0 ? 0 : height;
width = width < 0 ? 0 : width;
_this.popoverDiv.style.height = height + "px";

@@ -234,0 +240,0 @@ _this.popoverDiv.style.width = width + "px";

10

package.json
{
"name": "react-tiny-popover",
"version": "1.1.0",
"version": "1.1.1",
"repository": {

@@ -10,2 +10,10 @@ "type": "git",

"types": "dist/index.d.ts",
"keywords": [
"react",
"popover",
"react-popover",
"popout",
"pop",
"out"
],
"license": "MIT",

@@ -12,0 +20,0 @@ "author": "Alex Katz",

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