jquerypickadate

Jquery pickadate open and close same time


We have a strange issue with pickadate.js v3.5.6., jQuery v3.3.1 When a user clicks on the element it opens the calander and call the close event in the same time. But if the user select a different tab in the browser and then return to the first tab, the calander is in open state. This is a new issue in an existing page. After the mouse click and the open / close, the element class is:

field a-picker picker__input valid picker__input--target

This is the setup:

        $('#monitor-time-days-picker').pickadate({
        format: 'dd.mm.yyyy',
        onSet: function () {
        }
    });

Has anyone experienced similar issue?

Thanks


Solution

  • found the solution: simply upgrade to pickadate version 3.6.2

    Edit:

    Please view this issue in the plugin page:

    https://github.com/chingyawhao/materialize-clockpicker/issues/40