Conversation
- Introduced a new constant `SELECT_DROPDOWN_LIST_ITEM_HEIGHT_PX` for consistent row height in dropdowns. - Updated multiple components to utilize the new constant for list item height. - Added custom scrollbar styles for virtual lists to enhance UI consistency across select components. This change improves the visual consistency of dropdowns and enhances user experience by ensuring proper scrollbar visibility.
Items were extending full-width under the absolutely-positioned custom scrollbar, causing row backgrounds to bleed through the track. Add padding-right to holder-inner so items stop short of the scrollbar. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nsistency - Introduced a constant for scrollbar thumb dimensions to standardize styling. - Refactored scrollbar styles to utilize a base style for both vertical and horizontal scrollbars, ensuring consistent appearance across components. - Improved visibility and aesthetics of custom scrollbars in the rc-virtual-list and tree-select components. This change enhances the user experience by providing a more cohesive look and feel for dropdowns and selection widgets.
WalkthroughAdded exported constant Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@app/client/src/widgets/MultiSelectWidgetV2/component/index.styled.tsx`:
- Around line 130-133: The selectors .rc-virtual-list-holder-inner and
.rc-tree-select-tree-list-holder-inner use the physical property padding-right
which misaligns the logical scrollbar thumb in RTL; change that declaration to
use the logical property padding-inline-end: 10px so the gutter reserves space
at the logical end (matching inset-inline-end/inset-inline-start used elsewhere)
and prevents option backgrounds from rendering under the scrollbar.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: db1e0fd7-7f27-48cd-889a-40623938ebc9
📒 Files selected for processing (9)
app/client/src/components/constants.tsapp/client/src/widgets/MultiSelectTreeWidget/component/index.styled.tsxapp/client/src/widgets/MultiSelectTreeWidget/component/index.tsxapp/client/src/widgets/MultiSelectWidget/component/index.styled.tsxapp/client/src/widgets/MultiSelectWidget/component/index.tsxapp/client/src/widgets/MultiSelectWidgetV2/component/index.styled.tsxapp/client/src/widgets/MultiSelectWidgetV2/component/index.tsxapp/client/src/widgets/SingleSelectTreeWidget/component/index.styled.tsxapp/client/src/widgets/SingleSelectTreeWidget/component/index.tsx
Changed `padding-right` to `padding-inline-end` in the scrollbar styles for the rc-virtual-list and tree-select components to enhance layout consistency across different screen sizes and improve overall UI appearance.
|
/build-deploy-preview skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/23561998021. |
|
Caution Review failedAn error occurred during the review process. Please try again later. WalkthroughAdded a shared constant Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Deploy-Preview-URL: https://ce-41656.dp.appsmith.com |
…mponents Updated scrollbar dimensions and padding to enhance layout consistency and visual appeal. Introduced a constant for gutter width to ensure proper spacing when vertical scrollbars are present, improving overall user experience across selection widgets.
|
/build-deploy-preview skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/23662583812. |
|
Deploy-Preview-URL: https://ce-41656.dp.appsmith.com |
Description
Tip
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.
Dropdown lists in Select, Multi-select, and Tree Select widgets now use clearer, more consistent scrollbars. We fixed cases where list content could show through the scrollbar area, aligned scrollbar styling across these widgets, and tuned appearance (thickness, color, spacing) so long option lists look cleaner and more in line with the rest of the product. Existing apps get the updated look automatically; no migration or new settings are required.
Fixes #
Issue Numberor
Fixes https://github.com/appsmithorg/appsmith-ee/issues/8816
Warning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags="@tag.Visual"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/23662408398
Commit: af1564f
Cypress dashboard.
Tags:
@tag.VisualSpec:
Fri, 27 Mar 2026 19:18:35 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit