Modify ↓
Ticket #1265 (closed bug: wontfix)
Interface fisheye position:fixed; breaks
| Reported by: | stevenbristol | Owned by: | stefan |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1.3 |
| Component: | interface | Version: | 1.1.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
If you use the fisheye as a fixed position element and scroll the page, the mousemove events are tied to the previous location and can not be accurately rebound to the new location.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

I worked around the problem with the help of the Dimensions plugin ( http://jquery.com/plugins/project/dimensions):
var el = this; el.fisheyeCfg = {
}; el.fisheyeCfg.pos.y = el.fisheyeCfg.pos.y + jQuery(window).scrollTop();
....
And I changed the window resize event a bit:
var window_resize = function() {
};
jQuery(window)
I realize that I this is not a proper fix (because it doesn't handle left, only top), but perhaps it can help you put the proper fix in. I will try to do something similar to the drag/drop stuff.
Thanks!