Opened 2 years ago

Last modified 2 years ago

#16939 pending Bug

Unable to maintain scroll position after postback

Reported by: vbjunkie Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

I'm using the CKEditor 4.6.2 control in a .Net 4.0 web application. I'm experiencing an issue where the correct scroll position is not maintained after performing a postback on large web form containing multiple CKEditor controls. When a button is clicked, the page performs a postback and the screen appears to return to the correct scroll position but then appears to jump up a few spaces for no apparent reason. This issue only occurs when a postback is triggered towards the bottom of a large web form. It does not occur if a postback is triggered in the top half of large web form or on a small web page. We are experiencing this issue in IE 11.

Steps to reproduce

  1. Create a large web form using .net 4.0.
  2. Add multiple CKEditor controls to the page.
  3. Click a button to trigger a page postback.

Expected result

We expect the correct scroll position to be maintained after performing a postback. The size of the web page should not affect scroll positioning.

Actual result

The page will return to the correct scroll position but will jump up immediately after.

Change History (3)

comment:1 Changed 2 years ago by Jakub Ś

Status: newpending
Version: 4.6.2

CKEditor .NET control is kept for legacy application. Newer applications should use CKEditor JavaScript and Code Behind to connect textarea on which CKEditor is created with ASP.NET.

The scrolling of the page is controlled by the browser however that jump after few seconds sounds disturbing. Could you provide reduced sample .NET application with such page (all reduced to necessary minimum) which I could put on my IIS and see the issue? If the size of the application is too big, please provide an external link to zip file.

Please also make sure that you don't have http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-startupFocus enabled or that some third part script is fired after few seconds and e.g. focuses first editor.

comment:2 Changed 2 years ago by vbjunkie

I was able to find the issue in a few older tickets.

http://dev.ckeditor.com/ticket/8393 http://ckeditor.com/forums/CKEditor-3.x/Problem-vertical-scroll-when-editing-large-documents#comment-53744

The application is pretty large. The issue only occurs if the controls are placed on a large web form. Do you know if the issue reported in the tickets above has been corrected? If so, is there a patch available?

comment:3 Changed 2 years ago by Jakub Ś

One of the link you have provided is forum thread and not bug report. The other one is a bug report but in concerns IE7-9 and not IE11. It aslo has been fixed.

Currently I can't reproduce this problem in CKEditor 4 and in order to accept a bug I need a clear reproduction scenario in default editor or sample. Are you able to provide any of those? Without them I will have to close this ticket.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy