Open danijel2017 opened 3 years ago
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 😉
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.
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
It is urgent issue in my side, so please fix it