mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post): some quotes to replies wouldn't show quoted posts on hover
This commit is contained in:
@@ -18,8 +18,6 @@ interface ReplyQuotePreviewProps {
|
||||
const handleQuoteHover = (cid: string, onElementOutOfView: () => void) => {
|
||||
const targetElements = document.querySelectorAll(`[data-cid="${cid}"]`);
|
||||
|
||||
if (targetElements.length === 0) return;
|
||||
|
||||
const isInViewport = (element: HTMLElement) => {
|
||||
const bounding = element.getBoundingClientRect();
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user