decrease long animation durations (#1553)

This commit is contained in:
jeffvli
2026-01-24 17:08:04 -08:00
parent 6e4cd6912b
commit 26284e2412
3 changed files with 3 additions and 3 deletions
@@ -787,7 +787,7 @@ const BaseItemGridList = ({
ref={mergedContainerRef} ref={mergedContainerRef}
tabIndex={0} tabIndex={0}
{...animationProps.fadeIn} {...animationProps.fadeIn}
transition={{ duration: enableEntranceAnimation ? 1 : 0, ease: 'anticipate' }} transition={{ duration: enableEntranceAnimation ? 0.5 : 0, ease: 'anticipate' }}
> >
<AutoSizer> <AutoSizer>
{({ height, width }) => ( {({ height, width }) => (
@@ -1604,7 +1604,7 @@ const BaseItemTableList = ({
ref={mergedContainerRef} ref={mergedContainerRef}
tabIndex={0} tabIndex={0}
{...animationProps.fadeIn} {...animationProps.fadeIn}
transition={{ duration: enableEntranceAnimation ? 1 : 0, ease: 'anticipate' }} transition={{ duration: enableEntranceAnimation ? 0.3 : 0, ease: 'anticipate' }}
> >
{StickyHeader} {StickyHeader}
{StickyGroupRow} {StickyGroupRow}
@@ -17,7 +17,7 @@ export const AnimatedPage = forwardRef(
<motion.main <motion.main
className={styles.animatedPage} className={styles.animatedPage}
ref={ref} ref={ref}
{...{ ...animationProps.fadeIn, transition: { duration: 1, ease: 'anticipate' } }} {...{ ...animationProps.fadeIn, transition: { duration: 0.3, ease: 'anticipate' } }}
> >
{children} {children}
</motion.main> </motion.main>