Skip to content

Conversation

@rashgaroth
Copy link

Context

Currently when i use the IconPicker within the modal, i cannot scroll the popover as well as the categories y scroll

Description

This pull request improves the user experience of the icon picker component in registry/ui/icon-picker.tsx by refining scroll behavior and event handling for both horizontal and vertical scroll areas. The main changes focus on preventing unwanted scroll propagation and enhancing touch interactions.

Scroll behavior and event handling improvements:

  • Added scrollbarWidth: 'thin', touchAction, and overscrollBehavior styles to both the category button row and the icon list to improve scrolling experience and prevent scroll chaining.
  • Added onWheel and onTouchMove event handlers to both scrollable areas to stop event propagation, ensuring that scrolling within these areas does not affect parent containers.

@vercel
Copy link

vercel bot commented Nov 9, 2025

@rashgaroth is attempting to deploy a commit to the alan-crts' projects Team on Vercel.

A member of the Team first needs to authorize it.

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