Opened 14 years ago
Last modified 11 years ago
#5858 closed Bug
Error on ScrollIntoView — at Version 1
Reported by: | Tareq | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.3 |
Keywords: | HasPatch | Cc: |
Description (last modified by )
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 ); }}}}
Change History (1)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Keywords: | HasPatch added |