Skip to main content

Bug Tracker

Side navigation

#12079 closed bug (worksforme)

Opened July 13, 2012 02:03PM UTC

Closed July 21, 2012 07:50PM UTC

[Click From Right] Event "click" is execute, when push right mouse button

Reported by: alexei03a@gmail.com Owned by: alexei03a@gmail.com
Priority: blocker Milestone: 1.8
Component: event Version: 1.8b2
Keywords: Cc:
Blocked by: Blocking:
Description

Is bad working.

Attachments (0)
Change History (4)

Changed July 13, 2012 02:26PM UTC by dmethvin comment:1

owner: → alexei03a@gmail.com
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

Changed July 14, 2012 12:33AM UTC by anonymous comment:2

Changed July 14, 2012 12:38AM UTC by dmethvin comment:3

component: unfiledevent
milestone: None1.8
priority: undecidedblocker
status: pendingopen

I don't see the problem in Chrome or IE9, but I do in Firefox. This is a regression we need to fix.

Changed July 21, 2012 07:50PM UTC by dmethvin comment:4

resolution: → worksforme
status: openclosed

Nope, this is *not* a regression, it has worked this way from the beginning of jQuery. Firefox generates a click event on the document for right clicks whereas most other browsers do not. You can check event.which to see what button is pressed.

If you are using .delegate() or .on() for delegated events, we filter out right clicks since they aren't fired in the directly bound case. However, we don't try to hide right clicks on the document.