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

Editor dialogs cause page "jump" on first load

2 Answers 36 Views
Editor
This is a migrated thread and some comments may be shown as answers.
John Brownell
Top achievements
Rank 1
John Brownell asked on 11 Feb 2009, 06:58 PM
In the current version of Firefox (3.0.6), opening any dialogs will cause the page to scroll to the top. This only happens the first time you open a particular dialog after the page is loaded. This does not happen in IE 7.

To replicate:
1. Go to: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
2. Make the browser window small enough that you have to scroll down to see the full editor
3. Click "Link Manager" and the browser window pops back to the top
4. Click "Link Manager" again, and it works as expected
5. Click "Image Manager" and the window scrolls to the top
6. Click "Image Manager" again and it works as expected

Thanks,
John



2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 16 Feb 2009, 02:15 PM
Hi John,

The problem with RadWindow dialogs being added to the page dynamically causing the page to scroll up in FireFox was reported earlier. Indeed, this only happens the first time a dialog is opened (e.g. at the time a window is added to the page). Each subsequent invocation does not cause the behavior since the dialog is alredy a part of the page DOM.

In more recent versions of the RadWindow we changed the place in DOM where the window is added - it used to be added as the last element on the page, and now is as the first. This helped solve two other issues. Unfortunately, changing the place in DOM seems to be causing this unpleasant side effect in FF.

For more information on the only workaround we were able to provide so far, please examine the following forum thread:
http://www.telerik.com/community/forums/aspnet-ajax/editor/firefox-3-editordialog-issues.aspx

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
John Brownell
Top achievements
Rank 1
answered on 16 Feb 2009, 06:05 PM
Ah, ok. I tried to search the forum to see if this had been reported. Thanks for the response. This workaround will work just fine for now.

John
Tags
Editor
Asked by
John Brownell
Top achievements
Rank 1
Answers by
Rumen
Telerik team
John Brownell
Top achievements
Rank 1
Share this question
or