﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5858	Error on ScrollIntoView	Tareq		"We use 3.3 of CKEDITOR. We face problem in the ScrollintoView function. After digging in the function's code let see the values of the local variables

{{{
offset= 0 ;
CurrentScroll =114;
winHeight = 680;
}}}

But this code block is generating error:

{{{
if ( offset > currentScroll || offset < (currentScroll - winHeight))
    win.$.scrollTo( 0, offset ); 
}}}

I solve the error by new code:

{{{
if ( offset > currentScroll || offset < (currentScroll - winHeight) || offset == 0 ) 
    win.$.scrollTo( 0, offset );
}}}}
"	Bug	closed	Normal		General	3.3	expired	HasPatch	
