shortcut-buttons-flatpickr icon indicating copy to clipboard operation
shortcut-buttons-flatpickr copied to clipboard

flatpickr ShortcutButtonsPlugin error fp.calendarContainer is undefined

Open danijel2017 opened this issue 4 years ago • 2 comments

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

danijel2017 avatar Mar 18 '21 18:03 danijel2017

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 😉

jcsmorais avatar Apr 13 '21 06:04 jcsmorais

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.

larshanskrause avatar May 24 '22 11:05 larshanskrause