Skip to content

Conversation

@silviuaavram
Copy link
Collaborator

@silviuaavram silviuaavram commented Jan 14, 2019

Addresses #651.

If there is a defaultHighlightedIndex prop given to Downshift, then that index will be highlighted when user will open the dropdown with click, enter and space. When dropdown is open with Up/Down Arrows, the highlighted index will be `defaultHighlightedIndex' -/+ 1.

If there is no defaultHighlightedIndex given as prop, default will remain as it is now: Up/Down will highlight last/first option, while click, enter and space will not highlight anything.

@silviuaavram silviuaavram merged commit f2b7b6f into downshift-js:master Jan 25, 2019
@silviuaavram silviuaavram changed the title Fix issue #651 Addresses issue #651 Jan 25, 2019
@silviuaavram
Copy link
Collaborator Author

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant