Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DropdownMenu: hidden active element within list with max-height #1620

Open
saripovdenis opened this issue May 29, 2024 · 1 comment
Open
Labels
bug Something isn't working component: DropdownMenu

Comments

@saripovdenis
Copy link
Contributor

Problem: Hidden active element by arrows navigation:
https://github.com/gravity-ui/uikit/assets/74184888/dec27825-f144-49e4-9efc-39ffaa67b9ba

Is it possible to constrain DropdownMenu's list height by props?
Otherwise, how to scroll to the active element with styles override?

Playground: https://stackblitz.com/edit/vitejs-vite-xpefsl?file=src%2FApp.tsx,index.html,index.css

@amje amje added bug Something isn't working component: DropdownMenu labels Jun 4, 2024
@amje
Copy link
Contributor

amje commented Jun 4, 2024

We will address this issue in #1430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: DropdownMenu
Projects
None yet
Development

No branches or pull requests

2 participants