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

react-overlays

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-overlays - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

lib/utils/isOverflowing.js

7

CHANGELOG.md

@@ -0,1 +1,8 @@

v0.4.2 - Mon, 10 Aug 2015 19:04:31 GMT
--------------------------------------
v0.4.1 - Tue, 04 Aug 2015 23:48:08 GMT

@@ -2,0 +9,0 @@ --------------------------------------

11

lib/ModalManager.js

@@ -21,11 +21,6 @@ 'use strict';

var _domHelpersQueryIsWindow = require('dom-helpers/query/isWindow');
var _utilsIsOverflowing = require('./utils/isOverflowing');
var _domHelpersQueryIsWindow2 = _interopRequireDefault(_domHelpersQueryIsWindow);
var _utilsIsOverflowing2 = _interopRequireDefault(_utilsIsOverflowing);
function containerClientHeight(container) {
var win = _domHelpersQueryIsWindow2['default'](container);
return win ? win.documentElement.clientHeight : container.clientHeight;
}
var findContainer = function findContainer(data, modal) {

@@ -97,3 +92,3 @@ var idx = -1;

data.overflowing = container.scrollHeight > containerClientHeight(container);
data.overflowing = _utilsIsOverflowing2['default'](container);

@@ -100,0 +95,0 @@ if (data.overflowing) {

{
"name": "react-overlays",
"version": "0.4.1",
"version": "0.4.2",
"description": "Utilities for creating robust overlay components",

@@ -61,3 +61,2 @@ "author": "Jason Quense <monastic.panic@gmail.com>",

"karma": "^0.13.3",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^0.2.0",

@@ -69,3 +68,2 @@ "karma-cli": "^0.1.0",

"karma-mocha-reporter": "^1.0.4",
"karma-sinon": "^1.0.4",
"karma-sinon-chai": "^1.0.0",

@@ -72,0 +70,0 @@ "karma-sourcemap-loader": "^0.3.5",

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