@7shifts/sous-chef 3.44.3 → 3.44.5
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.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -6360,12 +6360,12 @@ var PaneOverlay = function PaneOverlay(_ref) {
|
|
|
6360
6360
|
setPosition = _useState[1];
|
|
6361
6361
|
useEffect(function () {
|
|
6362
6362
|
var handleScroll = function handleScroll() {
|
|
6363
|
-
console.log('Scrolling');
|
|
6363
|
+
console.log('Scrolling 2');
|
|
6364
6364
|
onToggleDropdown();
|
|
6365
6365
|
};
|
|
6366
|
-
|
|
6366
|
+
window.addEventListener('scroll', handleScroll, true);
|
|
6367
6367
|
return function () {
|
|
6368
|
-
|
|
6368
|
+
window.removeEventListener('scroll', handleScroll, true);
|
|
6369
6369
|
};
|
|
6370
6370
|
}, [onToggleDropdown]);
|
|
6371
6371
|
useOnClickOutsideRole('dialog', onToggleDropdown);
|