@gustavo-valsechi/client 1.4.271 → 1.4.273
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.
|
@@ -113,7 +113,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
console.log("CLICK", target, index);
|
|
116
|
-
|
|
116
|
+
focusable.focus();
|
|
117
117
|
});
|
|
118
118
|
if (theme.content.isMobile) return;
|
|
119
119
|
toggleElement.addEventListener("mouseleave", () => {
|
|
@@ -128,7 +128,8 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
128
128
|
});
|
|
129
129
|
focusable.addEventListener("blur", () => {
|
|
130
130
|
if (import_lodash.default.some(insideMemory, (i) => i === index)) {
|
|
131
|
-
|
|
131
|
+
console.log("BLUR", target, index);
|
|
132
|
+
focusable.focus();
|
|
132
133
|
return;
|
|
133
134
|
}
|
|
134
135
|
close(index);
|
|
@@ -79,7 +79,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
81
|
console.log("CLICK", target, index);
|
|
82
|
-
|
|
82
|
+
focusable.focus();
|
|
83
83
|
});
|
|
84
84
|
if (theme.content.isMobile) return;
|
|
85
85
|
toggleElement.addEventListener("mouseleave", () => {
|
|
@@ -94,7 +94,8 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
94
94
|
});
|
|
95
95
|
focusable.addEventListener("blur", () => {
|
|
96
96
|
if (_.some(insideMemory, (i) => i === index)) {
|
|
97
|
-
|
|
97
|
+
console.log("BLUR", target, index);
|
|
98
|
+
focusable.focus();
|
|
98
99
|
return;
|
|
99
100
|
}
|
|
100
101
|
close(index);
|