* fix(select): make select content scrollable if height is limited
Select 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 Select Content component:
- `max-h-[--radix-select-content-available-height]`
- `overflow-y-auto` & `overflow-x-hidden` instead of `overflow-hidden` (existed before)
* fix(select): make select content scrollable if height is limited
Select 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 Select Content component:
- `max-h-[--radix-select-content-available-height]`
- `overflow-y-auto` & `overflow-x-hidden` instead of `overflow-hidden` (existed before)
---------
Co-authored-by: shadcn <m@shadcn.com>
* 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>
* fix(dropdown-menu): make dropdown content scrollable if height is limited
Dropdown 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 with other components. I will also submit a PR for the other components separately.
* chore: build registry
---------
Co-authored-by: shadcn <m@shadcn.com>
* fix(navigation-menu): 6825 - Update open state styles and remove unused classes
Adjusts navigation menu trigger open styles to apply opacity /50 only when not hover/focused.
Removes unused data-[active] and data-[active=true] classes.
Fixes#6825
* Adds data-[active=true] back to NavigationMenuLink component.
Includes text color changes for open/active states to improve UI consistency.
* v3 registry
* v4 registry
* fix(sidebar, sidebar-16): 6651 - Resolve unnecessary vertical scroll
Includes "label" in registry dependencies for sidebar-16 components.
Adjusts sidebar and sidebar inset dimensions to eliminate unwanted scroll behavior.
Fixes#6651
* chore: build registry
* Add label component to registry and adjust sidebar styles
Adds 'label' component to the registry.
Corrects sidebar styles and layout for better responsiveness.
* fix(sidebar-09): Add missing Label component dependency
Ensures the Label component is included in the registry dependencies for sidebar-09 to prevent missing component errors.
---------
Co-authored-by: shadcn <m@shadcn.com>