Opened 15 years ago
Closed 13 years ago
#5858 closed Bug (expired)
Error on ScrollIntoView
| 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 (3)
comment:1 Changed 15 years ago by
| Description: | modified (diff) |
|---|---|
| Keywords: | HasPatch added |
comment:2 Changed 15 years ago by
| Status: | new → pending |
|---|
comment:3 Changed 13 years ago by
| Resolution: | → expired |
|---|---|
| Status: | pending → closed |

Could you describe in details the problem you have? In what browser does it happen, how to reproduce it easily and so on.