Skip to content

fix: prevent PR review form dropdown from being clipped#341

Merged
ping-maxwell merged 1 commit intobetter-auth:mainfrom
AbhiVarde:fix/pr-review-form-dropdown-clipping
Apr 7, 2026
Merged

fix: prevent PR review form dropdown from being clipped#341
ping-maxwell merged 1 commit intobetter-auth:mainfrom
AbhiVarde:fix/pr-review-form-dropdown-clipping

Conversation

@AbhiVarde
Copy link
Copy Markdown
Contributor

Problem

The PR review dropdown was clipped by the parent scrollable review container on the pull request page, causing part of the panel to be hidden when opened.

Solution

Switched the dropdown from absolute to fixed positioning and used triggerRef.getBoundingClientRect() to align it relative to the viewport.

This ensures the dropdown renders above scroll containers and remains fully visible near the review sidebar edge.

Files Changed

  • apps/web/src/components/pr/pr-review-form.tsx

Screenshots

Before After

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 7, 2026

@AbhiVarde is attempting to deploy a commit to the better-auth Team on Vercel.

A member of the Team first needs to authorize it.

@ping-maxwell ping-maxwell merged commit 13cc61f into better-auth:main Apr 7, 2026
4 of 5 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.

2 participants