fix catalog popups timeout

This commit is contained in:
plebeius.eth
2023-09-05 15:14:52 +02:00
parent 9fd07c9ce7
commit 10a1b973de
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ const CatalogPost = ({post}) => {
};
if (isHoveringOnThread) {
const timeoutId = setTimeout(executeLayoutEffectLogic, 500);
const timeoutId = setTimeout(executeLayoutEffectLogic, 250);
return () => clearTimeout(timeoutId);
}
+6 -6
View File
@@ -126,7 +126,7 @@ const CatalogPost = ({post}) => {
};
if (isHoveringOnThread) {
const timeoutId = setTimeout(executeLayoutEffectLogic, 500);
const timeoutId = setTimeout(executeLayoutEffectLogic, 250);
return () => clearTimeout(timeoutId);
}
@@ -353,7 +353,7 @@ const CatalogPost = ({post}) => {
if (!hoverTimeoutId) {
const timeoutId = setTimeout(() => {
setIsHoveringOnThread("rules");
}, 500);
}, 250);
setHoverTimeoutId(timeoutId);
}
}}>
@@ -421,7 +421,7 @@ const CatalogPost = ({post}) => {
if (!hoverTimeoutId) {
const timeoutId = setTimeout(() => {
setIsHoveringOnThread("rules");
}, 500);
}, 250);
setHoverTimeoutId(timeoutId);
}
}}>
@@ -455,7 +455,7 @@ const CatalogPost = ({post}) => {
if (!hoverTimeoutId) {
const timeoutId = setTimeout(() => {
setIsHoveringOnThread("description");
}, 500);
}, 250);
setHoverTimeoutId(timeoutId);
}
}}
@@ -478,7 +478,7 @@ const CatalogPost = ({post}) => {
if (!hoverTimeoutId) {
const timeoutId = setTimeout(() => {
setIsHoveringOnThread("description");
}, 500);
}, 250);
setHoverTimeoutId(timeoutId);
}
}}>
@@ -576,7 +576,7 @@ const CatalogPost = ({post}) => {
if (!hoverTimeoutId) {
const timeoutId = setTimeout(() => {
setIsHoveringOnThread("description");
}, 500);
}, 250);
setHoverTimeoutId(timeoutId);
}
}}>
@@ -114,7 +114,7 @@ const CatalogPost = ({post}) => {
};
if (isHoveringOnThread) {
const timeoutId = setTimeout(executeLayoutEffectLogic, 500);
const timeoutId = setTimeout(executeLayoutEffectLogic, 250);
return () => clearTimeout(timeoutId);
}