@7shifts/sous-chef 3.44.7 → 3.44.9
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 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9517,7 +9517,8 @@ var useSelectField = function useSelectField(_ref) {
|
|
|
9517
9517
|
} : undefined;
|
|
9518
9518
|
var selectProps = {
|
|
9519
9519
|
closeMenuOnScroll: function closeMenuOnScroll(e) {
|
|
9520
|
-
|
|
9520
|
+
console.log('Scroll event detected.');
|
|
9521
|
+
if (!e.target) {
|
|
9521
9522
|
return false;
|
|
9522
9523
|
}
|
|
9523
9524
|
return !isScrollingTheSelectMenu(e.target);
|