Skip to content

Comments

fix(acp-client): fix scroll-to-bottom FAB visibility#172

Merged
raphaeltm merged 1 commit intomainfrom
fix/scroll-fab-visibility
Feb 23, 2026
Merged

fix(acp-client): fix scroll-to-bottom FAB visibility#172
raphaeltm merged 1 commit intomainfrom
fix/scroll-fab-visibility

Conversation

@raphaeltm
Copy link
Owner

Summary

  • Added z-10 to the scroll-to-bottom FAB so it renders above the scroll container (which creates a stacking context via overflow-y: auto)
  • Bumped right offset from right-3 (12px) to right-5 (20px) to clear the scrollbar

Validation

  • pnpm typecheck (via build)
  • pnpm test — 246 tests pass
  • pnpm lint (implicit — no new code, only class changes)

Exceptions (If any)

  • Scope: N/A
  • Rationale: N/A
  • Expiration: N/A

Agent Preflight (Required)

  • Preflight completed before code changes

Classification

  • ui-change

External References

N/A: CSS z-index fix, no external APIs.

Codebase Impact Analysis

  • packages/acp-client/src/components/AgentPanel.tsx — Added z-10 and changed right-3 to right-5 on FAB button classname

Documentation & Specs

N/A: Bug fix to CSS classes only.

Constitution & Risk Check

N/A: No business logic changes.

Generated with Claude Code

The FAB was rendering behind the scroll container because
overflow-y:auto creates a new stacking context. Added z-10 to ensure
the button paints above the scrollable area. Also bumped right offset
from right-3 to right-5 to clear the scrollbar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@raphaeltm raphaeltm merged commit 9b7e81c into main Feb 23, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant