I'd like to close the calendar after the onSelect event is triggered. Is this possible somehow?
Thanks!
| Package | Version |
| ----------- | ----------- |
| @eva-design/eva | ^2.0.0-alpha.1 |
| @ui-kitten/components | ^5.0.0-alpha.1 |
@simonsankar I tried to achieve the same by ref methods, but it seems buggy for now, and calendar still visible. Will include this in stable release #1055. Thnaks for posting!
@simonsankar
This one works for me
ref={datepicker}
onSelect={nextDate => {
...
datapicker.current.blur();
}}
Starting from the stable release this will become a default behavior. And, to reduce the refs boilerplate, will have a configurable property
Most helpful comment
@simonsankar
This one works for me