mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-15 20:01:35 +00:00
1d8fe41d648041ea5350bd0572de7cf78d7e7c2f
* fix(context-menu): make context menu scrollable if height is limited Context menu content now becomes scrollable when the browser window height is too small to display the full menu. This improves usability on smaller screens. Radix also supports the same behavior for other components. I will also submit PRs for the other components separately. Added the following properties to the Context Menu Content component: - `max-h-[--radix-context-menu-content-available-height]` - `overflow-y-auto` & `overflow-x-hidden` instead of `overflow-hidden` (existed before) * fix(v4): context menu --------- Co-authored-by: shadcn <m@shadcn.com>
shadcn/ui
Accessible and customizable components that you can copy and paste into your apps. Free. Open Source. Use this to build your own component library.
Documentation
Visit http://ui.shadcn.com/docs to view the documentation.
Contributing
Please read the contributing guide.
License
Licensed under the MIT license.
Description
Languages
TypeScript
89.4%
MDX
7%
CSS
3.5%
JavaScript
0.1%
