@gustavo-valsechi/client 1.4.137 → 1.4.139
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.
|
@@ -131,11 +131,7 @@ function InputSelect(props) {
|
|
|
131
131
|
{
|
|
132
132
|
className: "input-icon",
|
|
133
133
|
"data-focus": focus,
|
|
134
|
-
onClick: () =>
|
|
135
|
-
console.log(focus);
|
|
136
|
-
if (focus) return;
|
|
137
|
-
inputRef.current.focus();
|
|
138
|
-
},
|
|
134
|
+
onClick: () => inputRef.current.click(),
|
|
139
135
|
children: [
|
|
140
136
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("i", { "aria-hidden": true, className: "fa-solid fa-chevron-up" }),
|
|
141
137
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("i", { "aria-hidden": true, className: "fa-solid fa-chevron-down" })
|
|
@@ -98,11 +98,7 @@ function InputSelect(props) {
|
|
|
98
98
|
{
|
|
99
99
|
className: "input-icon",
|
|
100
100
|
"data-focus": focus,
|
|
101
|
-
onClick: () =>
|
|
102
|
-
console.log(focus);
|
|
103
|
-
if (focus) return;
|
|
104
|
-
inputRef.current.focus();
|
|
105
|
-
},
|
|
101
|
+
onClick: () => inputRef.current.click(),
|
|
106
102
|
children: [
|
|
107
103
|
/* @__PURE__ */ jsx("i", { "aria-hidden": true, className: "fa-solid fa-chevron-up" }),
|
|
108
104
|
/* @__PURE__ */ jsx("i", { "aria-hidden": true, className: "fa-solid fa-chevron-down" })
|
|
@@ -50,10 +50,8 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
50
50
|
if (isFocusable) return target.ref.current;
|
|
51
51
|
return inputRef.current[index];
|
|
52
52
|
};
|
|
53
|
-
console.log("insideMemory", insideMemory);
|
|
54
53
|
const blur = (index) => {
|
|
55
54
|
insideMemory.splice(import_lodash.default.findIndex(insideMemory, (i) => i === index), 1);
|
|
56
|
-
console.log("insideMemory in blur function", insideMemory);
|
|
57
55
|
elementFocusable(targets[index], index).focus();
|
|
58
56
|
elementFocusable(targets[index], index).blur();
|
|
59
57
|
};
|
|
@@ -16,10 +16,8 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
16
16
|
if (isFocusable) return target.ref.current;
|
|
17
17
|
return inputRef.current[index];
|
|
18
18
|
};
|
|
19
|
-
console.log("insideMemory", insideMemory);
|
|
20
19
|
const blur = (index) => {
|
|
21
20
|
insideMemory.splice(_.findIndex(insideMemory, (i) => i === index), 1);
|
|
22
|
-
console.log("insideMemory in blur function", insideMemory);
|
|
23
21
|
elementFocusable(targets[index], index).focus();
|
|
24
22
|
elementFocusable(targets[index], index).blur();
|
|
25
23
|
};
|