@7shifts/sous-chef 3.44.3 → 3.44.4
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6367,9 +6367,9 @@ var PaneOverlay = function PaneOverlay(_ref) {
|
|
|
6367
6367
|
console.log('Scrolling');
|
|
6368
6368
|
onToggleDropdown();
|
|
6369
6369
|
};
|
|
6370
|
-
|
|
6370
|
+
window.addEventListener('scroll', handleScroll, true);
|
|
6371
6371
|
return function () {
|
|
6372
|
-
|
|
6372
|
+
window.removeEventListener('scroll', handleScroll);
|
|
6373
6373
|
};
|
|
6374
6374
|
}, [onToggleDropdown]);
|
|
6375
6375
|
useOnClickOutsideRole('dialog', onToggleDropdown);
|