Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6946 closed bug (fixed)

Mouse: click event suppressed after drag in Gecko

Reported by: awgy Owned by:
Priority: minor Milestone: 1.8.11
Component: ui.mouse Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:


It seems that Firefox and Opera (may be others) will not fire a click event if the element's DOM position is altered by a mouseup handler, while Webkit will. This means that the click event suppression flag set during mouseUp will remain until the next click event, causing it to be incorrectly suppressed. This affects the sortable plugin, causing an element's first click event to be suppressed after it has been dragged.

To fix this, I suggest looking for the 'preventClickEvent' flag in the 'mouse._mouseDown' handler and clearing it if it exists.

I've created a test case for this bug at

Change History (3)

comment:2 Changed 6 years ago by awgy

  • Resolution set to fixed
  • Status changed from new to closed

Mouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click event suppressed after drag in Gecko(cherry picked from commit 548bdb12a116771b34a99ba97769ddef22f7d156)

Changeset: 15aec63edc10bffcce638ff5244b5faba1ef51fd

comment:3 Changed 6 years ago by scottgonzalez

  • Milestone changed from 1.9 to 1.8.11
Note: See TracTickets for help on using tickets.