mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
commit
50f9a28c4a
@ -172,7 +172,7 @@ export function ChatList(props: { narrow?: boolean }) {
|
|||||||
<QueueAnim
|
<QueueAnim
|
||||||
delay={[100, 0]}
|
delay={[100, 0]}
|
||||||
ease={"easeOutQuart"} // "easeInOutQuart"
|
ease={"easeOutQuart"} // "easeInOutQuart"
|
||||||
duration={[550, 450]}
|
duration={[350, 450]}
|
||||||
animConfig={[
|
animConfig={[
|
||||||
{ opacity: [1, 0], translateY: [0, -30], height: [71, 0] },
|
{ opacity: [1, 0], translateY: [0, -30], height: [71, 0] },
|
||||||
{ height: 0 },
|
{ height: 0 },
|
||||||
@ -181,7 +181,7 @@ export function ChatList(props: { narrow?: boolean }) {
|
|||||||
onEnd={({ key, type, target }) => {
|
onEnd={({ key, type, target }) => {
|
||||||
if (type === "enter") target.style.height = "auto";
|
if (type === "enter") target.style.height = "auto";
|
||||||
}}
|
}}
|
||||||
// interval={150}
|
interval={50}
|
||||||
>
|
>
|
||||||
{sessions.map((item, i) => (
|
{sessions.map((item, i) => (
|
||||||
<div key={item.id}>
|
<div key={item.id}>
|
||||||
|
Loading…
Reference in New Issue
Block a user