@copart/ops-tool-kit 1.12.1-alpha.15 → 1.12.1-alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
32
32
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
33
33
 
34
34
  const name$r = "@copart/ops-tool-kit";
35
- const version$7 = "1.12.1-alpha.15";
35
+ const version$7 = "1.12.1-alpha.16";
36
36
  const main$1 = "dist/ops-tool-kit.js";
37
37
  const style = "dist/ops-tool-kit.css";
38
38
  const files = [
@@ -32695,16 +32695,22 @@ var AppBar$1 = function AppBar(props) {
32695
32695
  (mobileNotificationsTopContainerRef === null || mobileNotificationsTopContainerRef === void 0 ? void 0 : mobileNotificationsTopContainerRef.current) && setSideBarTopValue((mobileNotificationsTopContainerRef === null || mobileNotificationsTopContainerRef === void 0 ? void 0 : (_mobileNotificationsT = mobileNotificationsTopContainerRef.current) === null || _mobileNotificationsT === void 0 ? void 0 : _mobileNotificationsT.offsetHeight) + 48);
32696
32696
  }, [notificationHeightFlag]);
32697
32697
  React.useEffect(function () {
32698
- var handleResize = function handleResize() {
32699
- if (ideaNoteVisible) {
32700
- document.body.style.overflow = 'hidden';
32701
- } else {
32702
- document.body.style.overflow = '';
32703
- }
32704
- };
32705
- window.addEventListener('resize', handleResize);
32698
+ // const handleResize = () => {
32699
+ // if (ideaNoteVisible) {
32700
+ // document.body.style.overflow = 'hidden'
32701
+ // } else {
32702
+ // document.body.style.overflow = ''
32703
+ // }
32704
+ // }
32705
+ // window.addEventListener('resize', handleResize)
32706
+
32707
+ if (ideaNoteVisible) {
32708
+ document.body.style.overflow = 'hidden';
32709
+ } else {
32710
+ document.body.style.overflow = '';
32711
+ }
32706
32712
  return function () {
32707
- window.removeEventListener('resize', handleResize);
32713
+ // window.removeEventListener('resize', handleResize)
32708
32714
  document.body.style.overflow = '';
32709
32715
  };
32710
32716
  }, [ideaNoteVisible]);