Opened 16 years ago
Last modified 13 years ago
#5858 closed Bug
Error on ScrollIntoView — at Initial Version
| Reported by: | Tareq | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.3 |
| Keywords: | HasPatch | Cc: |
Description
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
| offset < (currentScroll - winHeight)) |
win.$.scrollTo( 0, offset );
I solve the error by new code
| offset < (currentScroll - winHeight) | offset == 0 ) |
win.$.scrollTo( 0, offset );
Please see the BUG ASAP .
