react-crud-mobile 1.3.281 → 1.3.282
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/react-crud-mobile.cjs.development.js +1 -2
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +2 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +2 -3
@@ -1375,6 +1375,7 @@ function UIToast() {
|
|
1375
1375
|
|
1376
1376
|
function UIModal(props) {
|
1377
1377
|
var _theme$styles;
|
1378
|
+
var scrollRef = React.useRef(null);
|
1378
1379
|
var owner = props.scope;
|
1379
1380
|
var _useState = React.useState(0),
|
1380
1381
|
index = _useState[0],
|
@@ -1382,7 +1383,6 @@ function UIModal(props) {
|
|
1382
1383
|
var dialog = owner.currentDialog;
|
1383
1384
|
//v2
|
1384
1385
|
var curr = dialog == null ? void 0 : dialog.crud;
|
1385
|
-
var main = reactCrudUtils.ViewUtils.getCrud('view');
|
1386
1386
|
if (!dialog) {
|
1387
1387
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
1388
1388
|
}
|
@@ -1395,7 +1395,6 @@ function UIModal(props) {
|
|
1395
1395
|
var label = scope.getLabel();
|
1396
1396
|
var theme = scope.getTheme();
|
1397
1397
|
var headerStyle = reactCrudUtils.Utils.nvl((_theme$styles = theme.styles) == null || (_theme$styles = _theme$styles.defaults) == null ? void 0 : _theme$styles.header, {});
|
1398
|
-
var scrollRef = React.useRef(null);
|
1399
1398
|
var headerRight = reactCrudUtils.ComponentUtils.getDefine(props, 'header', 'right');
|
1400
1399
|
var bottom = reactCrudUtils.ComponentUtils.getDefine(props, 'bottom');
|
1401
1400
|
var style = function style(part, extra) {
|