Open poPaTheGuru opened 3 years ago
@poPaTheGuru Did you have any solution on this? I can't close the DatePicker Modal.
@nolife08021 actually not yet, i had to go with another package that let me do that ( i won't say it here to not cause any problems) but i hope one day this feature will be available
@poPaTheGuru alright thanks.
Hey,
You can actually pass the open
prop that gives you control over the state of the picker, which will allow you to open/close the picker however you wish to.
Note that passing this prop will disable the default function of the picker opening/closing through the means of pressing the backdrop/pressing the node (click me button, for instance) you have placed in the picker.
Would be nice an onPress backdrop feature that closes the DatePicker. Because it's hard to integrate in a Modal that have a backdrop while the DatePicker itself is another modal
Very good idea!
Or... close the picker automatically when both dates are selected.
Would be nice an onPress backdrop feature that closes the DatePicker. Because it's hard to integrate in a Modal that have a backdrop while the DatePicker itself is another modal