Opened 10 years ago

Closed 10 years ago

#10519 closed Bug (invalid)

[Webkit] Pasting causes undesirable horizontal scrolling

Reported by: Abdul Ghani Owned by:
Priority: Normal Milestone:
Component: General Version: 4.1.1
Keywords: Cc:


In Chrome, if page is made sufficiently wide that a horizontal scroll bar appears, scrolling to the right and pasting text in ckeditor causes the page to scroll left.

Steps to reproduce.

  1. Set width of page to 300%.
  2. Scroll right making sure that ckeditor is still visible.
  3. Paste (ctrl+v) the following "Pasting causes undesirable horizontal scrolling"

Result - The containing page will scroll Expected - Should not scroll

Change History (1)

comment:1 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

This is browser behaviour.

<!DOCTYPE html>
<body style="width:300%;">
<div contenteditable="true" style="margin-top:10px;border:1px solid black; width:auto; ">
	<h2>filedset in contenteditable problem</h2>	

Above code, with no CKEditor, will act the same. Browser scrolls where cursor is. If text in paragraph was very, very long and could be seen despite scrollbar being moved to the right then pasting into this line wouldn't cause nay scrolling.

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