mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
decrease long animation durations (#1553)
This commit is contained in:
@@ -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' }}
|
||||
>
|
||||
<AutoSizer>
|
||||
{({ height, width }) => (
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -17,7 +17,7 @@ export const AnimatedPage = forwardRef(
|
||||
<motion.main
|
||||
className={styles.animatedPage}
|
||||
ref={ref}
|
||||
{...{ ...animationProps.fadeIn, transition: { duration: 1, ease: 'anticipate' } }}
|
||||
{...{ ...animationProps.fadeIn, transition: { duration: 0.3, ease: 'anticipate' } }}
|
||||
>
|
||||
{children}
|
||||
</motion.main>
|
||||
|
||||
Reference in New Issue
Block a user