react-table-edit 1.0.6 → 1.0.8
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 +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1078,7 +1078,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
1078
1078
|
e.preventDefault();
|
|
1079
1079
|
},
|
|
1080
1080
|
tag: "div",
|
|
1081
|
-
style: { width: "
|
|
1081
|
+
style: { width: width ? width + 2 : "min-content" },
|
|
1082
1082
|
className: (0, import_classnames4.default)("select-table-control", { "r-select-is-disabled": isDisabled }, { "r-select-is-open": dropdownOpen }, { "r-select-is-focus": isFocus }, { "r-select-is-invalid": invalid }),
|
|
1083
1083
|
children: [
|
|
1084
1084
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "select-table-container", children: [
|
|
@@ -1141,7 +1141,8 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
1141
1141
|
container: component,
|
|
1142
1142
|
className: "formula-dropdown icon-dropdown p-0",
|
|
1143
1143
|
style: {
|
|
1144
|
-
|
|
1144
|
+
minWidth: selectTableRef?.current?.clientWidth,
|
|
1145
|
+
width: menuWidth ? menuWidth + 2 : "min-content",
|
|
1145
1146
|
position: "fixed",
|
|
1146
1147
|
borderRadius: 4,
|
|
1147
1148
|
zIndex: 9999
|
package/dist/index.mjs
CHANGED
|
@@ -1039,7 +1039,7 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
1039
1039
|
e.preventDefault();
|
|
1040
1040
|
},
|
|
1041
1041
|
tag: "div",
|
|
1042
|
-
style: { width: "
|
|
1042
|
+
style: { width: width ? width + 2 : "min-content" },
|
|
1043
1043
|
className: classnames3("select-table-control", { "r-select-is-disabled": isDisabled }, { "r-select-is-open": dropdownOpen }, { "r-select-is-focus": isFocus }, { "r-select-is-invalid": invalid }),
|
|
1044
1044
|
children: [
|
|
1045
1045
|
/* @__PURE__ */ jsxs5("div", { className: "select-table-container", children: [
|
|
@@ -1102,7 +1102,8 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
1102
1102
|
container: component,
|
|
1103
1103
|
className: "formula-dropdown icon-dropdown p-0",
|
|
1104
1104
|
style: {
|
|
1105
|
-
|
|
1105
|
+
minWidth: selectTableRef?.current?.clientWidth,
|
|
1106
|
+
width: menuWidth ? menuWidth + 2 : "min-content",
|
|
1106
1107
|
position: "fixed",
|
|
1107
1108
|
borderRadius: 4,
|
|
1108
1109
|
zIndex: 9999
|