vue-bulma/datepicker

Error emitted when using datepicker

mycahp opened this issue · 2 comments

On version 1.3.0, I am using the datepicker like this:

<datepicker name="toDate" class="input" type="date" :config="{dateFormat: 'm-d-Y'}" v-model="toDate" placeholder="To" />

When I change to a different route, every click on the page produces this error message:

Uncaught TypeError: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'.

I am using version 2.2.6 of VueJS. No functionality is being lost, just a ton of errors in the console. If I remove the datepicker, the error is no longer emitted.

Any ideas?

Uncaught TypeError: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'.
at isPopup (eval at 312 (2.js:95), :15:19)
at HTMLDocument.handler (eval at 312 (2.js:95), :36:36)

Same here

There is no need to set type="date" and a simple demo is here