From d838e8f28f48e282f42f9011ede04f26893eaced Mon Sep 17 00:00:00 2001 From: Athou Date: Sun, 22 Feb 2026 14:36:25 +0100 Subject: [PATCH] fix occasional flicker --- .../src/pages/app/FeedEntriesPage.tsx | 33 +++++++++---------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/commafeed-client/src/pages/app/FeedEntriesPage.tsx b/commafeed-client/src/pages/app/FeedEntriesPage.tsx index 4f2c69d1..c36dfa27 100644 --- a/commafeed-client/src/pages/app/FeedEntriesPage.tsx +++ b/commafeed-client/src/pages/app/FeedEntriesPage.tsx @@ -55,7 +55,6 @@ export function FeedEntriesPage(props: Readonly) { ) const sourceLabel = useAppSelector(state => state.entries.sourceLabel) const sourceWebsiteUrl = useAppSelector(state => state.entries.sourceWebsiteUrl) - const loading = useAppSelector(state => state.entries.loading) const hasMore = useAppSelector(state => state.entries.hasMore) const mobile = useMobile() const sidebarVisible = useAppSelector(state => state.tree.sidebarVisible) @@ -125,26 +124,24 @@ export function FeedEntriesPage(props: Readonly) { return ( // add some room at the bottom of the page in order to be able to scroll the current entry at the top of the page when expanding - {!loading && ( - - {sourceWebsiteUrl && ( - - - {title} - - - )} - {!sourceWebsiteUrl && ( + + {sourceWebsiteUrl && ( + {title} - )} - - - - {showUnreadCount && } - - )} + + )} + {!sourceWebsiteUrl && ( + + {title} + + )} + + + + {showUnreadCount && } +