@gustavo-valsechi/client 1.4.86 → 1.4.87
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.
|
@@ -98,6 +98,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
98
98
|
element.addEventListener("click", () => {
|
|
99
99
|
const targetElement = import_lodash.default.find(containerRef.current, (data, i) => i === index);
|
|
100
100
|
if (!targetElement) return;
|
|
101
|
+
console.log("target opacity", targetElement.style.opacity);
|
|
101
102
|
if (targetElement.style.opacity === "1") {
|
|
102
103
|
close(targetElement);
|
|
103
104
|
return;
|
|
@@ -64,6 +64,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
64
64
|
element.addEventListener("click", () => {
|
|
65
65
|
const targetElement = _.find(containerRef.current, (data, i) => i === index);
|
|
66
66
|
if (!targetElement) return;
|
|
67
|
+
console.log("target opacity", targetElement.style.opacity);
|
|
67
68
|
if (targetElement.style.opacity === "1") {
|
|
68
69
|
close(targetElement);
|
|
69
70
|
return;
|