@trackunit/react-form-components 0.1.115 → 0.1.116

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/index.cjs.js CHANGED
@@ -2353,7 +2353,10 @@ const Select = (props) => {
2353
2353
  styles: customStyles,
2354
2354
  tabSelectsValue: false,
2355
2355
  blurInputOnSelect: !isMulti,
2356
- menuPortalTarget: props.menuPortalTarget || document.body,
2356
+ // This configuration allows for more flexible positioning control of the dropdown.
2357
+ // Setting menuPortalTarget to 'null' specifies that the dropdown should be rendered within
2358
+ // the parent element instead of 'document.body'.
2359
+ menuPortalTarget: props.menuPortalTarget !== undefined ? props.menuPortalTarget : document.body,
2357
2360
  isSearchable: disabled || readOnly ? false : isSearchable,
2358
2361
  menuShouldBlockScroll: true,
2359
2362
  menuShouldScrollIntoView: true,
package/index.esm.js CHANGED
@@ -2334,7 +2334,10 @@ const Select = (props) => {
2334
2334
  styles: customStyles,
2335
2335
  tabSelectsValue: false,
2336
2336
  blurInputOnSelect: !isMulti,
2337
- menuPortalTarget: props.menuPortalTarget || document.body,
2337
+ // This configuration allows for more flexible positioning control of the dropdown.
2338
+ // Setting menuPortalTarget to 'null' specifies that the dropdown should be rendered within
2339
+ // the parent element instead of 'document.body'.
2340
+ menuPortalTarget: props.menuPortalTarget !== undefined ? props.menuPortalTarget : document.body,
2338
2341
  isSearchable: disabled || readOnly ? false : isSearchable,
2339
2342
  menuShouldBlockScroll: true,
2340
2343
  menuShouldScrollIntoView: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "0.1.115",
3
+ "version": "0.1.116",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {