@northlight/ui 2.28.2 → 2.28.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.
@@ -14036,8 +14036,8 @@
14036
14036
  }
14037
14037
  if (option.value !== CREATION_OPTION_VALUE) {
14038
14038
  setSelectedOption(option);
14039
+ onOptionChange(option);
14039
14040
  }
14040
- onOptionChange(option);
14041
14041
  };
14042
14042
  const combinedOptions = React.useMemo(
14043
14043
  () => yafu.uniqBy(ramda.prop("value"), [...standardOptions, ...createdOptions]),
@@ -14101,6 +14101,8 @@
14101
14101
  }),
14102
14102
  components: getCustomComponents(),
14103
14103
  options: customOptions,
14104
+ menuPortalTarget: document.body,
14105
+ styles: { menuPortal: (base) => __spreadProps(__spreadValues({}, base), { zIndex: react.theme.zIndices.popover }) },
14104
14106
  value: selectedOption,
14105
14107
  onChange: handleChange,
14106
14108
  isMulti: false,