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

[Bug] Panel doesn't close after selecting time #378

Closed
BaptisteLemarcis opened this issue Nov 21, 2019 · 5 comments
Closed

[Bug] Panel doesn't close after selecting time #378

BaptisteLemarcis opened this issue Nov 21, 2019 · 5 comments

Comments

@BaptisteLemarcis
Copy link

Vue2-datepicker version: 3.1.0 (was here in 3.0.2)
Vue version: 2.6.10
Browser: firefox, chrome, edge, ie

Steps to reproduce
Follow the link to the reproduction

Reproduction Link or Source Code
https://jsfiddle.net/jh7cmpg4/7/

Expected behavior
The time panel should close after I selected the time

Actual behavior
The time panel stays open

@mengxiong10
Copy link
Owner

mengxiong10 commented Nov 22, 2019

fyi: https://jsfiddle.net/6c8om4ft/4/.

It should be closed by default when selecting time. I'll fix in next version.

@mengxiong10
Copy link
Owner

fixed in 3.1.1.

@geeksilva97
Copy link

How can I close a inline datepicker?

@mengxiong10
Copy link
Owner

@geeksilva97
Inline means that the input box is not displayed and the calendar is always displayed.
You can use v-show or v-if to hide datepicker.

@geeksilva97
Copy link

@geeksilva97
Inline means that the input box is not displayed and the calendar is always displayed.
You can use v-show or v-if to hide datepicker.

I did it. Thanks!
By the way, this project is awesome!

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

3 participants