-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add onItemHighlighted prop #192
Conversation
Useful for updating other parts of the page in reaction to the highlighted item in the autocomplete dropdown being changed
Hey! Thank you so much for your PR! Here is the playground for this revision 🚀 I hope everything is fine! ❤️ This message has been generated automagically ✨ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! It's great!
Just please remove the version update, I have it automated on my end. 💪
package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@webscopeio/react-textarea-autocomplete", | |||
"version": "4.6.3", | |||
"version": "4.7.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please remove this change? I will do it during release process. I agree it should be 4.7.0 🙏
Alright, makes sense. I reverted it back to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Useful for updating other parts of the page in reaction to the highlighted item in the autocomplete dropdown being changed.
In my case I want to reference rows in a table by their name, and when a row's name is highlighted in the autocomplete dropdown I want to highlight the actual row. This PR aims to enable this functionality.
If the name
onItemHighlighted
doesn't make sense, let me know and we can find a better one, I'll update it.I also bumped the version to v4.7.0 (minor version bump) since this is more than just a bugfix. Again, I can revert this if you have another methodology to manage versions.