Opened 9 years ago

Last modified 9 years ago

#13442 confirmed Bug

Editor scrolls to the top after paste when contained in absolute positioned element

Reported by: Tieme Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version: 4.0 Beta
Keywords: Blink Safari Cc:

Description

Follow up on https://dev.ckeditor.com/ticket/9771

The fix in https://dev.ckeditor.com/ticket/9771 does not work for editors embedded in a absolute positioned element with overflow scroll..

I've made a demo here: https://jsfiddle.net/899r5exm/

Yeah I know, it's probably not wise to position elements like this but the CMS I'm using is using this.

Any idea how we could fix this?

Attachments (2)

ckeditor_paste.gif (240.0 KB) - added by Tieme 9 years ago.
Gif showing the problem
replacebycodeTest.html (10.7 KB) - added by Jakub Ś 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Tieme

Attachment: ckeditor_paste.gif added

Gif showing the problem

comment:1 Changed 9 years ago by Jakub Ś

Keywords: Blink Safari added; paste removed
Status: newconfirmed
Version: 4.4.74.0 Beta

This problem can be reproduced from CKEditor 4.0 beta. In editor 3.x editor was scrolling to the bottom while starting from CKEditor 4.0 beta it scrolls to the top.

Changed 9 years ago by Jakub Ś

Attachment: replacebycodeTest.html added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy