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

Not closing on blur event #17

Open
dhrn opened this issue Jan 5, 2022 · 1 comment
Open

Not closing on blur event #17

dhrn opened this issue Jan 5, 2022 · 1 comment

Comments

@dhrn
Copy link

dhrn commented Jan 5, 2022

https://jsfiddle.net/z47v03rs/11/

@dhrn dhrn changed the title No closing on blur event Not closing on blur event Jan 5, 2022
@dhrn
Copy link
Author

dhrn commented Jan 6, 2022

This is caused by the animation. The default animation duration is 400 ms

Possible fixes: -

1 . Focus the input after animation

setTimeout(() => { input.focus() }, 450); 
  1. remove the animation
$('input').monthpicker({
    showAnim: ''
});

https://jsfiddle.net/z47v03rs/15/

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

1 participant