Opened 12 years ago
Closed 12 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)
Change History (3)
comment:1 Changed 12 years ago by
Component: | General → Editor |
---|
Changed 12 years ago by
Attachment: | scrollerFix.patch added |
---|
Note: See
TracTickets for help on using
tickets.
Patch that uses the client anf offset values to detect a scroller, and if the click was on it.