react-table-edit 0.9.4 → 0.9.6
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -659,6 +659,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
659
659
|
(0, import_react6.useEffect)(() => {
|
|
660
660
|
if (inputRef && !isDisabled) {
|
|
661
661
|
inputRef.current.addEventListener("blur", function() {
|
|
662
|
+
setDropdownOpen(false);
|
|
662
663
|
setSearchTerm("");
|
|
663
664
|
setIsFocus(false);
|
|
664
665
|
});
|
|
@@ -1106,7 +1107,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
1106
1107
|
container: component,
|
|
1107
1108
|
className: "formula-dropdown icon-dropdown p-0",
|
|
1108
1109
|
style: {
|
|
1109
|
-
width:
|
|
1110
|
+
width: "min-content",
|
|
1110
1111
|
position: "fixed",
|
|
1111
1112
|
borderRadius: 3,
|
|
1112
1113
|
zIndex: 9999
|
package/dist/index.mjs
CHANGED
|
@@ -623,6 +623,7 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
623
623
|
useEffect3(() => {
|
|
624
624
|
if (inputRef && !isDisabled) {
|
|
625
625
|
inputRef.current.addEventListener("blur", function() {
|
|
626
|
+
setDropdownOpen(false);
|
|
626
627
|
setSearchTerm("");
|
|
627
628
|
setIsFocus(false);
|
|
628
629
|
});
|
|
@@ -1070,7 +1071,7 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
1070
1071
|
container: component,
|
|
1071
1072
|
className: "formula-dropdown icon-dropdown p-0",
|
|
1072
1073
|
style: {
|
|
1073
|
-
width:
|
|
1074
|
+
width: "min-content",
|
|
1074
1075
|
position: "fixed",
|
|
1075
1076
|
borderRadius: 3,
|
|
1076
1077
|
zIndex: 9999
|