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

[Solved] Center Modal Window in Chrome

3 Answers 58 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam
Top achievements
Rank 1
Adam asked on 19 Jul 2011, 02:38 PM
First I am using the following versions:
Chrome: 12.0.742.122
Telerik: 2011.2.629.340

If you load the sample and re-add the reference to Telerik, then run the application and go to the ~\WindowTest\ page.

The sample works fine in IE and Firefox.  However, what happens in Chrome is if you click the value is Column 6 the modal window will appear in the correct spot but each time you scroll down the page the modal window moves further and further down the screen until it will be off the screen when it appears.  As I said, IE and Firefox work fine in that it is in the center of the view-able area each time.

Any help is appreciated.

Adam

EDIT: I did just notice the Q2 712 release and tried that and got the same results even though the release notes mention the following fix:
Fixed: Center() client-side method does not take body scroll offset into account
I noticed that there were no changes between the 6/29 and the 7/12 release of the telerik.window.js file that was in the zip file.

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 19 Jul 2011, 03:43 PM
Hi Adam,

Thanks for reporting this bug. We have identified the cause of the problem and fixed it.

The fix that you are referring to, is for a different case, but indeed, it is related to the current issue as well.

I am attaching the updated version of telerik.window.js. Your Telerik points have been updated.

Best wishes,
Dimo
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Adam
Top achievements
Rank 1
answered on 19 Jul 2011, 04:22 PM
Thanks for the quick response.  Do you have the non-minified version as well as we have our systems set-up with the full versions of the scripts.
0
Dimo
Telerik team
answered on 20 Jul 2011, 06:42 AM
Hello Adam,

Please open a new support ticket and I will send it there, as I can't provide it here in the forum. Another option is to wait for the next internal build, which will be available within the next couple of days.

Kind regards,
Dimo
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Window
Asked by
Adam
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Adam
Top achievements
Rank 1
Share this question
or