fix(terminal): remove scale from animation, keep height + opacity only

This commit is contained in:
Taylor Ho
2026-05-22 00:09:00 -07:00
parent 227278818b
commit 78be3e556a

View File

@@ -86,11 +86,10 @@ export function TerminalPanel({ channelId, isOpen }: TerminalPanelProps) {
{isOpen ? (
<motion.div
key="terminal-panel"
initial={{ height: 0, opacity: 0, scale: 0.97 }}
animate={{ height: heightPx + 12, opacity: 1, scale: 1 }}
exit={{ height: 0, opacity: 0, scale: 0.97 }}
initial={{ height: 0, opacity: 0 }}
animate={{ height: heightPx + 12, opacity: 1 }}
exit={{ height: 0, opacity: 0 }}
transition={{ duration: 0.2, ease: "easeOut" }}
style={{ transformOrigin: "bottom" }}
className="overflow-hidden px-4 pb-2 pt-1"
>
<div