Opened 10 years ago

Closed 10 years ago

#10991 closed defect (fixed)

IE8: Clicking scrollbar in Editor causes cursor to jump to the bottom.

Reported by: Jared Jurkiewicz Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.5
Component: Editor Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description

There was a fix in Editor a while ago in the function '_onIEMouseDown' (http://trac.dojotoolkit.org/ticket/10126) where the function computeFromPoint() was used to detect a scrollbar.

Well, as it turns out, that function is *broken* in IE8. It always returns blank string for scrollers instead of the appropriate value and in RTL mode, always returns 'scrollbarUp', even when not clicking a scrollbar!

Ugh.

Looks like we can't use that API and have to do this a more 'rbute' force way that will not be dependent on unstable MS API.

Attachments (1)

scrollerFix.patch (1.8 KB) - added by Jared Jurkiewicz 10 years ago.
Patch that uses the client anf offset values to detect a scroller, and if the click was on it.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 10 years ago by Jared Jurkiewicz

Component: GeneralEditor

Changed 10 years ago by Jared Jurkiewicz

Attachment: scrollerFix.patch added

Patch that uses the client anf offset values to detect a scroller, and if the click was on it.

comment:2 Changed 10 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

fixed in [21817]

Note: See TracTickets for help on using tickets.