Repository navigation
[select] Fix RTL aligned popup positioning - #4531
Conversation
commit: |
Bundle size report
Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…align-item-with-trigger # Conflicts: # packages/react/src/select/item/SelectItem.tsx # packages/react/src/select/popup/SelectPopup.tsx
Codex Review (GPT-5.4)Reviewed the latest PR head 1. Bugs / Issues (None)Root Cause & Patch AssessmentThe RTL inline-edge fix still looks correct on the latest head. The measurement path waits for Floating UI's first positioning pass, keeps the selected item text available on first open, and preserves the existing viewport clamp / fallback model. Claude's remaining notes about the clamp behavior change and the Test Coverage AssessmentClaude's test-gap points were useful, and the latest commit addresses the actionable ones:
I also re-ran:
All passed locally. Branch StatusThe latest PR head is RecommendationApprove ✅ I don't see a remaining actionable code-review issue on the latest head. Claude's main testing concerns are now covered by the follow-up commit, and the branch looks ready pending CI on |
This fixes
Select.PositionerwithalignItemWithTriggerin RTL by aligning the popup against the selected value's logical inline edge instead of always using physical left-edge math. This caused the select to not be aligned perfectly on the x-axis.https://deploy-preview-4531--base-ui.netlify.app/experiments/select-rtl-align-item-with-trigger
Changes
Select.Popup.