This is a migrated thread and some comments may be shown as answers.

Bug in Internet Explorer Version 7 and 8

3 Answers 147 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
manny
Top achievements
Rank 1
manny asked on 07 Feb 2012, 10:45 AM
I found a bug in IE 7 and 8 (sorry we have to use this versions in Windows XP).
I modified your example to a very basic version. If you try the following code, then you see that the calender popup is NOT closed.
If you add the following line after line 22 (CSS of #container"): "padding: 1px" then it works like expected.

Try this code:
<!doctype html>
<html>
    <head>
        <title>Basic usage</title>
        <link href="../../../source/styles/kendo.common.css" rel="stylesheet"/>
        <link href="../../../source/styles/kendo.default.css" rel="stylesheet"/>
        <script src="../../../source/js/jquery.min.js"></script>
        <script src="../../../source/js/kendo.core.js"></script>
        <script src="../../../source/js/kendo.fx.js"></script>
        <script src="../../../source/js/kendo.popup.js"></script>
        <script src="../../../source/js/kendo.calendar.js"></script>
        <script src="../../../source/js/kendo.datepicker.js"></script>
 
        <style type="text/css">
            body {
            padding: 0;
            margin: 0;
            font: 76% tahoma, verdana, sans-serif;
            color: #303030;
        }
        #container {
            margin: 10px;
        }
        </style>
 
    </head>
    <body>
        <div id="container">
            <input id="datepicker" value="10/10/2011" style="width:150px;" />
        </div>
 
        <script>
            $(document).ready(function() {
                // create DatePicker from input HTML element
                $("#datepicker").kendoDatePicker();
 
            });
        </script>
    </body>
</html>


The bug only exists in IE 7 and 8, not in IE 9 or in Firefox or in Chrome or in Safary.

Thank you for your exciting work - excellent!

3 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 09 Feb 2012, 04:38 PM
Hello Manny,

Thank you for noticing this - it was a bug, caused by old IE browsers firing Resize event on body resize instead of window resize. This causes simultaneous open and close events on every open and disrupts the normal behavior of the widget. We fixed it for the next release. I also updated your points for the report.

Kind regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
manny
Top achievements
Rank 1
answered on 09 Feb 2012, 06:57 PM
Thank you for the quick fix, I appreciate that.

When is the new version released or can I get the fix from somewhere else?
0
Kamen Bundev
Telerik team
answered on 10 Feb 2012, 08:29 AM
Hello Manny,

I'm attaching a patch for kendo.popup.js, that should resolve the issue.

Kind regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Calendar
Asked by
manny
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
manny
Top achievements
Rank 1
Share this question
or