Skip to content

Date picker doesn't close upon selecting another datepicker #68

@Gomathi-N

Description

@Gomathi-N

I recently upgraded my bootstrap3-datetimepicker-rails gem from version 3.0.0 to 3.0.3 and bootstrap-sass 3.1.1.0 to 3.4.1.

I am getting a strange behaviour while selecting another datepicker when the current datepicker haven't closed yet. PFA
Screen Shot 2019-07-07 at 1 00 32 PM

It was working fine before upgrading. Any ideas or work around for this issue?

I initialized the date picker as below:

$("[data-behaviour~='datetimepicker']").datetimepicker({ pickDate: true, pickTime: true, useCurrent: false, language: 'en-gb' });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions