@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.
@@ -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
- return true;
9517
+ if (!e.target) {
9518
+ return false;
9519
+ }
9520
+ return !isScrollingTheSelectMenu(e.target);
9518
9521
  },
9519
9522
  componentsProps: {
9520
9523
  testId: testId,