{"version":"2.1.265","anchor":"workflow-agent-detail-scroll-math-generalized-to-arbitrary-f","canonical_anchor":"workflow-agent-detail-scroll-math-generalized-to-arbitrary-f","heading":"Workflow agent detail scroll math generalized to arbitrary fold regions","tier":"internal","area":"Workflows","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/workflow-agent-detail-scroll-math-generalized-to-arbitrary-f","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### Workflow agent detail scroll math generalized to arbitrary fold regions\n\nWorkflow agent card's expand\/collapse scrolling logic was generalized to handle multiple collapsible regions\n\n**What**\n\nThe calculation Claude Code uses to keep your scroll position steady when expanding or collapsing a workflow agent card's detail view was rewritten. Previously it handled a single hardcoded case (the collapsed prompt). Now it works with a general list of 'fold regions', each with its own end point and growth amount, so multiple collapsible sections can be accounted for.\n\n**Why**\n\nThis is an internal refactor that supports more kinds of collapsible content in the agent card without the scroll position jumping around; it's not expected to change what you see, only to make future card layouts easier to support correctly.\n\n- Area: Workflows\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}