fix(shared): improve dropdown scroll affordance and responsive sizing#5673
fix(shared): improve dropdown scroll affordance and responsive sizing#5673
Conversation
Add Notion-style scroll fade cues for overflowing dropdowns, make action menus easier to read, and standardize field dropdown sizing so small triggers no longer collapse menu content. Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Implemented branch summary:
Validation completed:
|
Adjust dropdown fade edge opacity and increase collision padding so constrained menus remain visible while keeping a safer gap from viewport edges. Made-with: Cursor
|
@claude what is this scroll fade hook introduced here? what is it used for? |
|
Claude finished @idoshamun's task in 30s —— View job
|
Summary
useScrollFadeand wire it into sharedDropdownMenuContentfor top/bottom overflow fade indicators.--radix-dropdown-menu-content-available-height.actionandfield) to separate sizing behavior.sideOffset).24.0.24and mask logic updated so edge items remain visible.Dropdown,Select,PollDurationDropdown,MonthSelect,YearSelect,ExperienceLevelDropdown) with shared field variant behavior.Test plan
pnpm --filter shared lintPreview domain
https://fix-shared-dropdown-scroll-and-s.preview.app.daily.dev