nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
4.11k stars 543 forks source link

Scrooling for #empty-state slot of UCommandPalette #2656

Closed sergeykorobeynikov closed 5 days ago

sergeykorobeynikov commented 6 days ago

For what version of Nuxt UI are you asking this question?

v2.x

Description

What options for implementing scrolling for the #empty-state slot exist for UCommandPalette, we use it inside UDashboardPanel.

P.S. The UCommandPalette component has a more original use than what it was originally designed for. This component should be remade into USearchPalette, and the #empty-state slot should be renamed to #default-state, and scrolling should be implemented! ;-)

sergeykorobeynikov commented 6 days ago

Resolved: UDashboardPanelContent cannot be used inside UDashboardSidebar.

benjamincanac commented 6 days ago

Not sure to understand your issue. If you want to put a CommandPalette full height, you might want to apply a flex-1 to it.

benjamincanac commented 6 days ago

@sergeykorobeynikov May I close this issue if it's solved?

sergeykorobeynikov commented 5 days ago

Sure, thanks!