mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 15:46:39 +08:00
优化效果
This commit is contained in:
parent
3933a2735f
commit
4213440c63
@ -165,14 +165,14 @@ export function ChatList(props: { narrow?: boolean }) {
|
|||||||
{...provided.droppableProps}
|
{...provided.droppableProps}
|
||||||
>
|
>
|
||||||
<QueueAnim
|
<QueueAnim
|
||||||
delay={[300, 0]}
|
delay={[100, 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 },
|
{ height: 0 },
|
||||||
]}
|
]}
|
||||||
// TODO:离场动画还是有点卡顿
|
// TODO:目前仅剩添加元素其他元素平移动画问题
|
||||||
// interval={150}
|
// interval={150}
|
||||||
>
|
>
|
||||||
{sessions.map((item, i) => (
|
{sessions.map((item, i) => (
|
||||||
|
Loading…
Reference in New Issue
Block a user