Bug in Internet Explorer Version 7 and 8

4 posts, 0 answers
  1. manny
    manny avatar
    2 posts
    Member since:
    Sep 2011

    Posted 07 Feb 2012 Link to this post

    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!
  2. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 09 Feb 2012 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. manny
    manny avatar
    2 posts
    Member since:
    Sep 2011

    Posted 09 Feb 2012 Link to this post

    Thank you for the quick fix, I appreciate that.

    When is the new version released or can I get the fix from somewhere else?
  5. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 10 Feb 2012 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready