Remove height animation from reasoning

This commit is contained in:
Nate Kelley 2025-07-19 22:57:58 -06:00
parent a9f410f3af
commit 34e128874a
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 1 additions and 13 deletions

View File

@ -14,28 +14,16 @@ import { ReasoningMessage_Text } from './ReasoningMessage_Text';
import isEmpty from 'lodash/isEmpty';
const itemAnimationConfig: MotionProps = {
initial: { opacity: 0, height: 0 },
initial: { opacity: 0 },
animate: {
opacity: 1,
height: 'auto',
transition: {
height: {
type: 'spring',
stiffness: 400,
damping: 32
},
opacity: { duration: 0.16 }
}
},
exit: {
opacity: 0,
height: 0,
transition: {
height: {
type: 'spring',
stiffness: 450,
damping: 35
},
opacity: { duration: 0.12 }
}
}