molnarmark / preact-flatpickr

📅 Preact wrapper for the Flatpickr library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird bug with weekNumbers: true

rosenbjerg opened this issue · comments

I get the following error in console when weekNumbers: true is in the config:
Cannot read property 'style' of undefined eval (flatpickr.js?d2bc:539)

This only happens after my latest pull request, so it has something to do with using weekNumbers in the initial config. I cannot figure out how these to things are connected.
The weeknumbers are still shown as they are supposed to, so i have no clue what is going wrong in this case.

I suggest reverting my latest pull request until one of us figures this out.

Okay, so it seems that it isn't related to changes in my pull request, since i am now getting them without that change .. So i will close this and just avoid weekNumbers for now :/