mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
remove fade animation on album songs table
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user