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

rc-dialog

Package Overview
Dependencies
Maintainers
10
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-dialog - npm Package Compare versions

Comparing version 8.5.0 to 8.5.1

12

es/Dialog/index.js

@@ -138,4 +138,2 @@ import _extends from "@babel/runtime/helpers/esm/extends";

setAnimatedVisible(true);
scrollLocker === null || scrollLocker === void 0 ? void 0 : scrollLocker.lock();
return scrollLocker === null || scrollLocker === void 0 ? void 0 : scrollLocker.unLock;
}

@@ -150,4 +148,12 @@

};
}, []); // ========================= Render =========================
}, []);
useEffect(function () {
if (animatedVisible) {
scrollLocker === null || scrollLocker === void 0 ? void 0 : scrollLocker.lock();
return scrollLocker === null || scrollLocker === void 0 ? void 0 : scrollLocker.unLock;
}
return function () {};
}, [animatedVisible]); // ========================= Render =========================
return /*#__PURE__*/React.createElement("div", {

@@ -154,0 +160,0 @@ className: "".concat(prefixCls, "-root")

@@ -158,4 +158,2 @@ "use strict";

setAnimatedVisible(true);
scrollLocker === null || scrollLocker === void 0 ? void 0 : scrollLocker.lock();
return scrollLocker === null || scrollLocker === void 0 ? void 0 : scrollLocker.unLock;
}

@@ -170,4 +168,12 @@

};
}, []); // ========================= Render =========================
}, []);
(0, React.useEffect)(function () {
if (animatedVisible) {
scrollLocker === null || scrollLocker === void 0 ? void 0 : scrollLocker.lock();
return scrollLocker === null || scrollLocker === void 0 ? void 0 : scrollLocker.unLock;
}
return function () {};
}, [animatedVisible]); // ========================= Render =========================
return /*#__PURE__*/React.createElement("div", {

@@ -174,0 +180,0 @@ className: "".concat(prefixCls, "-root")

{
"name": "rc-dialog",
"version": "8.5.0",
"version": "8.5.1",
"description": "dialog ui 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