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

n-select: open the menu whenever it receives focus prop #4191

Closed
vonWolfehaus opened this issue Dec 13, 2022 · 0 comments
Closed

n-select: open the menu whenever it receives focus prop #4191

vonWolfehaus opened this issue Dec 13, 2022 · 0 comments
Labels
feature request New feature or request

Comments

@vonWolfehaus
Copy link

This function solves the problem (这个功能解决的问题)

Use case: tabbing into it will focus it but ideally the menu would open and allow for keyboard input. Currently, it only glows and does not open the menu unless you press enter. The focus api method does not work, nor does simulating a keyboard event on it.

Expected API (期望的 API)

A new prop on the component called open-on-focus or similar that will open the select menu when the user tabs into the select component.

@github-actions github-actions bot added the feature request New feature or request label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant