From 4d6e931040004f8fc99cd96362e7e9cc58be5f16 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Mon, 2 Feb 2026 02:32:36 +0900 Subject: [PATCH] #139 --- frontend/src/components/PostList.tsx | 4 +--- frontend/src/pages/posts/PostDetailPage.tsx | 8 +++++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/PostList.tsx b/frontend/src/components/PostList.tsx index 2dcb147..8e01fd4 100644 --- a/frontend/src/components/PostList.tsx +++ b/frontend/src/components/PostList.tsx @@ -20,14 +20,12 @@ export default (({ posts, onClick }: Props) => { const cardRef = useRef (null) - const outboundSharedId = useSharedTransitionStore (s => s.byLocationKey[location.key]) - return ( <>
{posts.map ((post, i) => { const id2 = `page-${ post.id }` - const layoutId = outboundSharedId === id2 ? id2 : undefined + const layoutId = id2 return ( { {inboundSharedId === `page-${ id }` && ( + className="absolute top-4 left-4 w-[min(640px,calc(100vw-2rem))] h-[360px] + overflow-hidden rounded-xl pointer-events-none z-50" + initial={{ opacity: 1 }} + animate={{ opacity: 0 }} + transition={{ duration: .2, ease: 'easeOut' }}>