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

get-window-offset

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-window-offset - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

12

build/src/alignUI.js

@@ -90,8 +90,12 @@ 'use strict';

move = (0, _alignWith2.default)(targetInfo, floatInfo, loc);
var movePos = (0, _getAfterMove2.default)(floatInfo, move);
var bFullOnScreen = (0, _isFullOnScreen2.default)(movePos, winInfo.scrollInfo);
if (bFullOnScreen) {
if (!winInfo) {
return true;
} else {
return false;
var movePos = (0, _getAfterMove2.default)(floatInfo, move);
var bFullOnScreen = (0, _isFullOnScreen2.default)(movePos, winInfo.scrollInfo);
if (bFullOnScreen) {
return true;
} else {
return false;
}
}

@@ -98,0 +102,0 @@ });

{
"name": "get-window-offset",
"version": "0.0.15",
"version": "0.0.16",
"description": "A simple library to tell you where could get best space by a target to put your container.",

@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism",

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