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

rc-drawer

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-drawer - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

es/DrawerChild.js

@@ -143,3 +143,3 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

if (!windowIsUndefined) {
var right = getScrollBarSize(true); // router 切换时可能会导至页面失去滚动条,所以需要时时获取。
var right = document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth ? getScrollBarSize(true) : 0; // router 切换时可能会导至页面失去滚动条,所以需要时时获取。

@@ -146,0 +146,0 @@ _this.levelDom.forEach(function (dom) {

@@ -161,3 +161,3 @@ "use strict";

if (!_utils.windowIsUndefined) {
var right = (0, _getScrollBarSize.default)(true); // router 切换时可能会导至页面失去滚动条,所以需要时时获取。
var right = document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth ? (0, _getScrollBarSize.default)(true) : 0; // router 切换时可能会导至页面失去滚动条,所以需要时时获取。

@@ -164,0 +164,0 @@ _this.levelDom.forEach(function (dom) {

{
"name": "rc-drawer",
"version": "2.0.2",
"version": "2.0.3",
"description": "drawer component for react",

@@ -5,0 +5,0 @@ "keywords": [

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