mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 07:36:39 +08:00
commit
5e844077e1
@ -165,14 +165,15 @@ export function ChatList(props: { narrow?: boolean }) {
|
|||||||
{...provided.droppableProps}
|
{...provided.droppableProps}
|
||||||
>
|
>
|
||||||
<QueueAnim
|
<QueueAnim
|
||||||
delay={150}
|
delay={[300, 0]}
|
||||||
ease={["easeOutQuart", "easeInOutQuart"]}
|
ease={["easeOutQuart", "easeInOutQuart"]}
|
||||||
duration={[550, 450]}
|
duration={[550, 450]}
|
||||||
animConfig={[
|
animConfig={[
|
||||||
{ opacity: [1, 0], translateY: [0, -30] },
|
{ opacity: [1, 0], translateY: [0, -30] },
|
||||||
{ height: 0, translateY: [-30, 0], opacity: [0, 1] },
|
{ height: 0 },
|
||||||
]}
|
]}
|
||||||
interval={150}
|
// TODO:离场动画还是有点卡顿
|
||||||
|
// interval={150}
|
||||||
>
|
>
|
||||||
{sessions.map((item, i) => (
|
{sessions.map((item, i) => (
|
||||||
<div key={item.id}>
|
<div key={item.id}>
|
||||||
|
Loading…
Reference in New Issue
Block a user