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

fix(dropdown): avoid runtime error if items is empty #1578

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

metonym
Copy link
Collaborator

@metonym metonym commented Dec 8, 2022

Related #1545, #1577

A runtime error is thrown when focusing the input and using arrow keys of an empty Dropdown.

<Dropdown items={[]} />

@metonym metonym merged commit fce92fb into master Dec 8, 2022
@metonym metonym deleted the fix-dropdown-empty branch December 8, 2022 04:38
@metonym
Copy link
Collaborator Author

metonym commented Dec 8, 2022

Fixed in v0.70.13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant