#198 new
Rich Collins

Scroll Wheel Event Error on FireFox

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

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:


As a temporary fix, I just changed:

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


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.

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket