@lensui/lens-table 0.1.94 → 0.1.95
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.cjs +6 -2
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1035,8 +1035,12 @@ function TextAreaEditor({
|
|
|
1035
1035
|
setOpen(true);
|
|
1036
1036
|
return;
|
|
1037
1037
|
}
|
|
1038
|
-
|
|
1039
|
-
|
|
1038
|
+
if (open) {
|
|
1039
|
+
textareaRef.current?.focus();
|
|
1040
|
+
return;
|
|
1041
|
+
}
|
|
1042
|
+
rememberSelection(inputRef.current);
|
|
1043
|
+
setOpen(true);
|
|
1040
1044
|
},
|
|
1041
1045
|
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MultilineEditorIcon, {})
|
|
1042
1046
|
}
|
package/dist/index.js
CHANGED
|
@@ -1009,8 +1009,12 @@ function TextAreaEditor({
|
|
|
1009
1009
|
setOpen(true);
|
|
1010
1010
|
return;
|
|
1011
1011
|
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1012
|
+
if (open) {
|
|
1013
|
+
textareaRef.current?.focus();
|
|
1014
|
+
return;
|
|
1015
|
+
}
|
|
1016
|
+
rememberSelection(inputRef.current);
|
|
1017
|
+
setOpen(true);
|
|
1014
1018
|
},
|
|
1015
1019
|
children: /* @__PURE__ */ jsx7(MultilineEditorIcon, {})
|
|
1016
1020
|
}
|