From fe83d46e84b728bd374b4adddf1e1426c813e078 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 13 Apr 2021 18:41:07 +0800
Subject: ...

---
 FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx')

diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx
index 4f9c6e97..fd59203a 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx
@@ -34,7 +34,7 @@ const TimelinePostView: React.FC<TimelinePostViewProps> = (props) => {
   const cardRef = React.useRef<HTMLDivElement>(null!);
   React.useEffect(() => {
     const cardIntersectionObserver = new IntersectionObserver(([e]) => {
-      if (e.isIntersecting) {
+      if (e.intersectionRatio > 0) {
         cardRef.current.style.animationName = "timeline-post-enter";
       }
     });
-- 
cgit v1.2.3

