feat(ui): 为日期记录器网格添加元素删除与平移过渡动画

This commit is contained in:
xfy 2026-07-23 14:28:01 +08:00
parent a2a631c141
commit b333c527da

View File

@ -370,7 +370,15 @@ private fun RecordGrid(
} else {
onStartSelectionWith(record.id)
}
}
},
modifier = Modifier.animateItem(
fadeInSpec = tween(300),
fadeOutSpec = tween(300),
placementSpec = spring(
stiffness = Spring.StiffnessMediumLow,
dampingRatio = Spring.DampingRatioMediumBouncy
)
)
)
}
}