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

Pass a ref to the calendar component #384

Closed
wojtekmaj opened this issue Jun 1, 2020 · 5 comments
Closed

Pass a ref to the calendar component #384

wojtekmaj opened this issue Jun 1, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@wojtekmaj
Copy link
Owner

hi @wojtekmaj sorry if it's not correct to reopen this close issue, but I think that would be great if I could pass a ref to the calendar component, so I can use for instance
https://usehooks.com/useOnClickOutside/

and handle the click outside the component, I think that this would not require so many changes and would be a solution for those who need to collapse the calendar when clicking outside

Originally posted by @cocodrino in #338 (comment)

@wojtekmaj wojtekmaj added the enhancement New feature or request label Jun 1, 2020
@Jiish
Copy link

Jiish commented Oct 16, 2020

This would be a good update. Now there seems to be no easy way to manually close a calendar residing inside a function component

@wojtekmaj wojtekmaj self-assigned this Oct 16, 2020
@wojtekmaj
Copy link
Owner Author

Will be out with the next release.

@pierpo
Copy link

pierpo commented Nov 5, 2020

Can't wait for this to be published. Do you have an ETA for the release ? 😊

@wojtekmaj
Copy link
Owner Author

Completely forgot about it, sorry. Released in v3.2.0.

@pierpo
Copy link

pierpo commented Nov 5, 2020

Thank you, that was super fast! 🤗

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

No branches or pull requests

3 participants