Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: replace invalid framer-motion steps() easing with times array

Louis Beaumont5e5228cc3734
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index 4b8b11a94..5551f34da 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -377,8 +377,8 @@ function ToolCallRailItem({ toolCall, isLast }: { toolCall: ToolCall; isLast: bo
// Pulsing hollow dot for running
<motion.div
className="w-2 h-2 border border-foreground"
- animate={{ opacity: [1, 0.3, 1] }}
- transition={{ duration: 1, repeat: Infinity, ease: "steps(2)" }}
+ animate={{ opacity: [1, 1, 0.3, 0.3, 1] }}
+ transition={{ duration: 1, repeat: Infinity, times: [0, 0.25, 0.25, 0.75, 0.75], ease: "linear" }}
/>
) : toolCall.isError ? (
// X mark for error
@@ -663,8 +663,8 @@ function ToolCallGroup({ toolCalls }: { toolCalls: ToolCall[] }) {
{hasRunning ? (
<motion.span
className="inline-block"
- animate={{ opacity: [1, 0.3, 1] }}
- transition={{ duration: 1, repeat: Infinity, ease: "steps(2)" }}
+ animate={{ opacity: [1, 1, 0.3, 0.3, 1] }}
+ transition={{ duration: 1, repeat: Infinity, times: [0, 0.25, 0.25, 0.75, 0.75], ease: "linear" }}
>
[{doneCount}/{total}]
</motion.span>