@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
- elementFocusable(target, index).focus();
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
- elementFocusable(targets[index], index).focus();
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
- elementFocusable(target, index).focus();
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
- elementFocusable(targets[index], index).focus();
97
+ console.log("BLUR", target, index);
98
+ focusable.focus();
98
99
  return;
99
100
  }
100
101
  close(index);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.271",
3
+ "version": "1.4.273",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",