Skip to content
New issue

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

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

Already on GitHub? # to your account

Feat: Added closeOnChangedValue functionality. #555

Merged
merged 1 commit into from
Feb 16, 2022
Merged

Feat: Added closeOnChangedValue functionality. #555

merged 1 commit into from
Feb 16, 2022

Conversation

bdokimakis
Copy link
Contributor

A good-to-have feature and will maybe be helpful for #527 as well.

@harshzalavadiya
Copy link
Member

harshzalavadiya commented Feb 16, 2022

@bdokimakis thanks for the PR, is it possible to call it closeMenuOnSelect instead of closeOnValueChange ?

Also for #527 I was thinking of providing ref based control to make it much more simple for advanced conditions, but this might be nice too...

reference:
image

@bdokimakis
Copy link
Contributor Author

@harshzalavadiya regarding the closeMenuOnSelect vs closeOnValueChange: The difference is that the feature I implemented closes the menu on both selecting and deselecting of a value. So renaming it to closeMenuOnSelect might be confusing, but I'm not 100% committed to that point of view, so if it sits better with you, I'll do it.

@harshzalavadiya
Copy link
Member

@bdokimakis that's valid point, I guess let's keep it closeOnValueChange for now

@harshzalavadiya harshzalavadiya merged commit 820f748 into hc-oss:master Feb 16, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants