dynamic-mui 1.0.75 → 1.0.77
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.
|
@@ -98,11 +98,20 @@ function Select(_ref3) {
|
|
|
98
98
|
option: newValue
|
|
99
99
|
});
|
|
100
100
|
}, []);
|
|
101
|
-
return /*#__PURE__*/_react.default.createElement(_Autocomplete.default, _extends({
|
|
102
|
-
disablePortal:
|
|
101
|
+
return /*#__PURE__*/_react.default.createElement(_Autocomplete.default, _extends({
|
|
102
|
+
disablePortal: false
|
|
103
|
+
}, getMuiAttributes(), {
|
|
103
104
|
options: options,
|
|
104
105
|
value: value,
|
|
105
106
|
onChange: onChangeEvent,
|
|
107
|
+
PopperProps: {
|
|
108
|
+
modifiers: [{
|
|
109
|
+
name: 'preventOverflow',
|
|
110
|
+
options: {
|
|
111
|
+
boundary: 'window'
|
|
112
|
+
}
|
|
113
|
+
}]
|
|
114
|
+
},
|
|
106
115
|
renderInput: params => {
|
|
107
116
|
// Ensure custom adornments are incorporated without overriding other essential props
|
|
108
117
|
const customInputProps = (0, _helper.getInputProps)(InputProps);
|