Opened 14 years ago

Last modified 11 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

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 );

Please see the BUG ASAP .

Change History (0)

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