@oliasoft-open-source/react-ui-library 5.0.6 → 5.0.7-beta-1
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.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9431,7 +9431,11 @@ const Input$1 = forwardRef(
|
|
|
9431
9431
|
const handleFocus = (e2) => {
|
|
9432
9432
|
onFocus(e2);
|
|
9433
9433
|
if (selectOnFocus) {
|
|
9434
|
-
setTimeout(() =>
|
|
9434
|
+
setTimeout(() => {
|
|
9435
|
+
if (e2.target === document.activeElement) {
|
|
9436
|
+
e2.target.select();
|
|
9437
|
+
}
|
|
9438
|
+
}, 0);
|
|
9435
9439
|
}
|
|
9436
9440
|
};
|
|
9437
9441
|
return /* @__PURE__ */ jsx("div", { style: { width }, className: order, children: /* @__PURE__ */ jsx(
|