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