Skip to content

flatpickr ShortcutButtonsPlugin error fp.calendarContainer is undefined #21

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

Open
danijel2017 opened this issue Mar 18, 2021 · 3 comments
Labels

Comments

@danijel2017
Copy link

Error occured in mobile view
it is because flatpickr fp.calendarContainer is undefined in shortcut-buttons-flatpickr library.
You should skip to appendChild if fp.calendarContainer is undefined

image

It is urgent issue in my side, so please fix it

@jcsmorais jcsmorais added bug Something isn't working mobile and removed bug Something isn't working labels Apr 13, 2021
@jcsmorais
Copy link
Owner

Hi @danijel2017 thanks for reporting this 👍

Feel free to open a PR and I'll happily review it and get it in an upcoming release 😉

@larshanskrause
Copy link
Contributor

I've added #41 to resolve this issue. Check out my temporary fork https://github.com/larshanskrause/shortcut-buttons-flatpickr including a build with this fix.

@chris-gooley
Copy link

Can this be merged in? It would be really good to have this in the official repo.

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

No branches or pull requests

4 participants