Opened 12 years ago

Closed 10 years ago

#9568 closed Bug (wontfix)

[Opera] Scroll after inserting element

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version: 4.0
Keywords: Opera Cc:

Description

Scrolling after editable#insertElement has to be switched off (https://github.com/ckeditor/ckeditor-dev/commit/57049a1) because selection's type wasn't NONE, but selection was empty and in a result one of tests in iframe/iframe.html has been failing.

Change History (3)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed

To reproduce:

  1. Inset below into E.g. replacebycode.html sample
    var editor = CKEDITOR.replace( 'editor1' );
    editor.on( 'instanceReady', function( e )
    {
    	setTimeout(function(){
    		var element = CKEDITOR.dom.element.createFromHtml( '<iframe src="http://www.w3schools.com" width="100px" height="100px" />' );
    		editor.insertElement( element );
    	},2500);
    });
    
  2. Make browser window very small
  3. Refresh page with CRTL+F5 and scroll the page down

Result: When iframe will be inserted browser (Opera only) will not be scrolled to caret position.

comment:2 Changed 11 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 4.0.1

comment:3 Changed 10 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: confirmedclosed

Opera<=12 is not supported any more.

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