@mw-kit/mw-ui 1.7.111 → 1.7.112
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/index.modern.js
CHANGED
|
@@ -12485,7 +12485,10 @@ var Input$1 = React__default.forwardRef(function (props, ref) {
|
|
|
12485
12485
|
event.target.value = masked;
|
|
12486
12486
|
onChange(event);
|
|
12487
12487
|
setValue(event.target.value);
|
|
12488
|
-
|
|
12488
|
+
|
|
12489
|
+
if (['text', 'search', 'url', 'password'].includes(event.target.type)) {
|
|
12490
|
+
event.target.setSelectionRange(start, end);
|
|
12491
|
+
}
|
|
12489
12492
|
};
|
|
12490
12493
|
|
|
12491
12494
|
if (inputProps.onKeyDown || onPressEnter) {
|
|
@@ -12928,9 +12931,9 @@ var ScrollContainer = React__default.forwardRef(function (props, ref) {
|
|
|
12928
12931
|
}
|
|
12929
12932
|
}, props.empty && props.empty.empty ? {
|
|
12930
12933
|
children: props.empty.content
|
|
12931
|
-
} : {})), loading && React__default.createElement(Loader, {
|
|
12934
|
+
} : {})), loading && React__default.createElement(Loader, Object.assign({
|
|
12932
12935
|
filled: true
|
|
12933
|
-
})), getBeforeAfter(props.after));
|
|
12936
|
+
}, loading === true ? {} : loading))), getBeforeAfter(props.after));
|
|
12934
12937
|
});
|
|
12935
12938
|
ScrollContainer.displayName = 'ScrollContainer';
|
|
12936
12939
|
|