remove fade animation on album songs table

This commit is contained in:
jeffvli
2026-01-16 02:01:08 -08:00
parent 46b80b9a18
commit b9311e841c
3 changed files with 7 additions and 2 deletions
@@ -305,6 +305,7 @@ export interface ItemGridListProps {
currentPage?: number;
data: unknown[];
enableDrag?: boolean;
enableEntranceAnimation?: boolean;
enableExpansion?: boolean;
enableSelection?: boolean;
enableSelectionDialog?: boolean;
@@ -329,6 +330,7 @@ const BaseItemGridList = ({
currentPage,
data,
enableDrag = true,
enableEntranceAnimation = true,
enableExpansion = false,
enableSelection = true,
gap = 'sm',
@@ -730,7 +732,7 @@ const BaseItemGridList = ({
ref={mergedContainerRef}
tabIndex={0}
{...animationProps.fadeIn}
transition={{ duration: 1, ease: 'anticipate' }}
transition={{ duration: enableEntranceAnimation ? 1 : 0, ease: 'anticipate' }}
>
<AutoSizer>
{({ height, width }) => (
@@ -694,6 +694,7 @@ interface ItemTableListProps {
data: unknown[];
enableAlternateRowColors?: boolean;
enableDrag?: boolean;
enableEntranceAnimation?: boolean;
enableExpansion?: boolean;
enableHeader?: boolean;
enableHorizontalBorders?: boolean;
@@ -737,6 +738,7 @@ const BaseItemTableList = ({
data,
enableAlternateRowColors = false,
enableDrag = true,
enableEntranceAnimation = true,
enableExpansion = true,
enableHeader = true,
enableHorizontalBorders = false,
@@ -2371,7 +2373,7 @@ const BaseItemTableList = ({
ref={mergedContainerRef}
tabIndex={0}
{...animationProps.fadeIn}
transition={{ duration: 1, ease: 'anticipate' }}
transition={{ duration: enableEntranceAnimation ? 1 : 0, ease: 'anticipate' }}
>
{StickyHeader}
{StickyGroupRow}
@@ -688,6 +688,7 @@ const AlbumDetailSongsTable = ({ songs }: AlbumDetailSongsTableProps) => {
data={filteredSongs}
enableAlternateRowColors={tableConfig.enableAlternateRowColors}
enableDrag
enableEntranceAnimation={false}
enableExpansion={false}
enableHeader
enableHorizontalBorders={tableConfig.enableHorizontalBorders}