Opened 12 years ago

Closed 10 years ago

#7961 closed bug (duplicate)

Clicking on one UI widget prevents the default click of other UI widgets

Reported by: mlmorg Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.mouse Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:


I specifically tested this with the autocomplete and draggable UI widgets. Clicking on a draggable element prevents the default click action of the autocomplete element. For example:

If you type "ja" in the autocomplete, the menu displays. If you then click on the draggable element, the autocomplete menu doesn't hide (the default action). If you click anywhere else on the page, the autocomplete menu will hide as predicted.

If you remove the event.preventDefault() line (line 99) of jQuery UI Mouse within the _mouseDown function, the bug is fixed; however, this commit:

seems to show that this line is essential.

Change History (3)

comment:1 Changed 12 years ago by Jörn Zaefferer

Status: newopen


Preventing the default shouldn't have any effect on propagation.

comment:2 Changed 11 years ago by Scott González


comment:3 Changed 10 years ago by Scott González

Resolution: duplicate
Status: openclosed

Duplicate of #6642.

Note: See TracTickets for help on using tickets.