Merge pull request #169 from sijinhui/dongxiao-240924

优化效果
This commit is contained in:
sijinhui 2024-09-25 12:49:49 +08:00 committed by GitHub
commit 217b2802e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,14 +165,14 @@ export function ChatList(props: { narrow?: boolean }) {
{...provided.droppableProps}
>
<QueueAnim
delay={[300, 0]}
ease={["easeOutQuart", "easeInOutQuart"]}
delay={[100, 0]}
ease={"easeOutQuart"} // "easeInOutQuart"
duration={[550, 450]}
animConfig={[
{ opacity: [1, 0], translateY: [0, -30] },
{ height: 0 },
]}
// TODO离场动画还是有点卡顿
// TODO目前仅剩添加元素其他元素平移动画问题
// interval={150}
>
{sessions.map((item, i) => (