Opened 15 years ago

Last modified 15 years ago

#5280 closed Bug

Vertical scroll bounces up when clicking in-between the vertical scroll bar and the bottom arrow — at Version 6

Reported by: markuspaek Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.4
Component: General Version: 3.2
Keywords: IE Cc: philip_andrew@…

Description (last modified by Tobiasz Cudnik)

XP + IE6

It happens at http://ckeditor.com/demo

When I click in-between the vertical scroll bar and the bottom arrow, the page scrolls down but bounces back. The same goes when I click in-between the vertical scroll bar and the top arrow.

Additional reproduction scenario moved from #5581:

In ie7, I go to http://ckeditor.com/demo

Click on the word Red in little red riding hood, just put the cursor somewhere there by clicking on the text.

Use the scrollbar to scroll down (down button on scrollbar, not the scrollbar itself, use down button).

Cannot scroll down, the focus jumps back to the cursor at the top of the page, so the whole page jumps back upwards.

This is a serious problem for my customer as they can only use IE7.

Change History (6)

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Confirmed IE added
Milestone: CKEditor 3.4

Confirmed with IE8.

comment:2 Changed 15 years ago by Frederico Caldeira Knabben

#5581 has been marked as DUP. It provides a different way to reproduce it.

comment:3 Changed 15 years ago by Frederico Caldeira Knabben

May be related to #5735.

comment:4 Changed 15 years ago by Garry Yao

Owner: set to Garry Yao
Status: newassigned

Supposed to be fixed by #5735.

comment:5 Changed 15 years ago by phil

Cc: philip_andrew@… added

Your patch for this didn't fix #5581. Please look at #5581 to see the fix.

comment:6 Changed 15 years ago by Tobiasz Cudnik

Description: modified (diff)

Quoting philip_andrew from #5581:

I found I can fix this bug by commenting out the following code in plugin.js in /plugins/selection/plugin.js

// IE before version 8 will leave cursor blinking inside the document after
// editor blurred unless we clean up the selection. (#4716)
if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
{
doc.getWindow().on( 'blur', function( evt )
{
editor.document.$.selection.empty();
});
}
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