tamble / jquery-ui-daterangepicker

A JQuery UI based date range picker.
MIT License
184 stars 110 forks source link

jquery-ui 1.12.0 - 1.12.4 problem #82

Open viktorvi opened 7 years ago

viktorvi commented 7 years ago

I am using jquery-ui 1.12.0. When I open the calendar, and click to the PREV button, then nothing happen. I have to click three times when it start to work.

untitled

Here you can try it: https://jsfiddle.net/oyttcxLd/

Here is the example code:

`

<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/jquery-ui.js"></script>  <!--Prev button is not working -->
<!--<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.js"></script>-->  <!--Prev button is working -->
<script src="//cdn.jsdelivr.net/momentjs/2.3.1/moment.min.js"></script>
<link href="//tamble.github.io/jquery-ui-daterangepicker/daterangepicker-master/jquery.comiseo.daterangepicker.css" rel="stylesheet" />
<script src="//tamble.github.io/jquery-ui-daterangepicker/daterangepicker-master/jquery.comiseo.daterangepicker.js"></script>
<script>
    $(document).ready(function () {
        $('#fromInput').daterangepicker();
    });
</script>

<input id="fromInput" type="text"/>

`

There is no problem with jquery-ui 1.11.4, but it is an old version.

op16 commented 7 years ago

Indeed, it's a know issue with jquery-ui 1.12.0.

I filed a bug report 5 months ago. Nothing happened.