From 26284e2412e189bed9e3c85cc42d2609fe9ea1e7 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sat, 24 Jan 2026 17:08:04 -0800 Subject: [PATCH] decrease long animation durations (#1553) --- .../components/item-list/item-grid-list/item-grid-list.tsx | 2 +- .../components/item-list/item-table-list/item-table-list.tsx | 2 +- src/renderer/features/shared/components/animated-page.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/components/item-list/item-grid-list/item-grid-list.tsx b/src/renderer/components/item-list/item-grid-list/item-grid-list.tsx index 47aa0470f..677be09a3 100644 --- a/src/renderer/components/item-list/item-grid-list/item-grid-list.tsx +++ b/src/renderer/components/item-list/item-grid-list/item-grid-list.tsx @@ -787,7 +787,7 @@ const BaseItemGridList = ({ ref={mergedContainerRef} tabIndex={0} {...animationProps.fadeIn} - transition={{ duration: enableEntranceAnimation ? 1 : 0, ease: 'anticipate' }} + transition={{ duration: enableEntranceAnimation ? 0.5 : 0, ease: 'anticipate' }} > {({ height, width }) => ( diff --git a/src/renderer/components/item-list/item-table-list/item-table-list.tsx b/src/renderer/components/item-list/item-table-list/item-table-list.tsx index 8c4847870..c256fcc4d 100644 --- a/src/renderer/components/item-list/item-table-list/item-table-list.tsx +++ b/src/renderer/components/item-list/item-table-list/item-table-list.tsx @@ -1604,7 +1604,7 @@ const BaseItemTableList = ({ ref={mergedContainerRef} tabIndex={0} {...animationProps.fadeIn} - transition={{ duration: enableEntranceAnimation ? 1 : 0, ease: 'anticipate' }} + transition={{ duration: enableEntranceAnimation ? 0.3 : 0, ease: 'anticipate' }} > {StickyHeader} {StickyGroupRow} diff --git a/src/renderer/features/shared/components/animated-page.tsx b/src/renderer/features/shared/components/animated-page.tsx index 2fffae176..3192379f2 100644 --- a/src/renderer/features/shared/components/animated-page.tsx +++ b/src/renderer/features/shared/components/animated-page.tsx @@ -17,7 +17,7 @@ export const AnimatedPage = forwardRef( {children}