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

Backdrop feature #18

Open
poPaTheGuru opened this issue Mar 26, 2021 · 6 comments
Open

Backdrop feature #18

poPaTheGuru opened this issue Mar 26, 2021 · 6 comments

Comments

@poPaTheGuru
Copy link

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

@nolife08021
Copy link

@poPaTheGuru Did you have any solution on this? I can't close the DatePicker Modal.

@poPaTheGuru
Copy link
Author

@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

@nolife08021
Copy link

@poPaTheGuru alright thanks.

@Naxulanth
Copy link
Owner

Naxulanth commented Jul 16, 2021

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.

@fcamargo10
Copy link

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!

@fcamargo10
Copy link

Or... close the picker automatically when both dates are selected.

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

No branches or pull requests

4 participants