Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Scroll Wheel Event Error on FireFox

#198

When you have the mouse over a scrolled ScrollView's documentView, but not over an subview of the documentView, the scrollWheel message is never sent. I did some debugging and I found that windowNumber is null after windowNumber = [[self hitTest:location] windowNumber];. This appears to be due to a negative x value (since the ScrollView has been scrolled). See an example here:

http://gist.github.com/47190

As a temporary fix, I just changed:

var location = _CGPointMake((x + ((aDOMEvent.clientX - 8) / 15)), (y + ((aDOMEvent.clientY - 8) / 15)));}

to

var location = _CGPointMake(aDOMEvent.clientX, aDOMEvent.clientY);

but I'm not sure that this will work in all situations as I don't understand the meaning of the former.

Reported by Rich Collins · January 14th, 2009 @ 03:15 PM

State: new
Milestone: none
Assigned to: Francisco Tolmasky Francisco Tolmasky

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.