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

possible bug in modal window

3 Answers 102 Views
Window
This is a migrated thread and some comments may be shown as answers.
Tim R
Top achievements
Rank 1
Tim R asked on 13 Mar 2013, 07:11 PM
Open a modal window as in the code below.

Now drag the bottom of the underlying window up using the grab-bar, so that the bottom of the popup window is partially obscured.
var kendoWindow = $("<div id='msgwindow'/>").kendoWindow({
        iframe: true,
        title: "foo",
        resizable: true,
        modal: true,
        width: "700px",
        height: "666px",      
        content: { url: "foo.htm?startdate=" + foodate}
    }).data("kendoWindow");
 kendoWindow.open().center();


Now try to close the modal window by clicking on the [X] at top right corner. On my PC (IE9) the modal window won't close.


3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 15 Mar 2013, 03:03 PM
Hello Tim,

I tried to reproduce the described behaviour in IE9 but to no avail. Could you please check the screen cast and let me know what I am missing?
For you convenience I am attaching my test files.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Tim R
Top achievements
Rank 1
answered on 15 Mar 2013, 03:29 PM
Sorry that my description was unclear, Alexander.  The popup window code I provided earlier is invoked in cell-click event of a kendo grid.

So here are the steps:

Put a kendo grid on the page.
On grid cell-click event, open a modal window so it is superimposed upon the grid. 
Grab the handle of the page with the kendo grid, and drag it up, so the modal pop-up window is partially obscured.
Now try to close the modal popup window.

Alternative approach:

Put a kendo grid on the page.
Grab the drag handle at bottom and make the page smaller, so when you later open the modal popup window, the popup will be too big for the page.
Open the modal popup window.
Now try to close the modal popup window.

Tim
0
Alexander Valchev
Telerik team
answered on 19 Mar 2013, 03:18 PM
Hi Tim,

Thank you for the detailed description.
We will log this as a bug and will try to provide a fix as soon as possible. As a small sign of our appreciation for this discovery I updated your Telerik points.

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