Skip to main content

Search and Top Navigation

#7961 closed bug (duplicate)

Opened December 19, 2011 10:04PM UTC

Closed February 26, 2014 02:53PM UTC

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.

Attachments (0)
Change History (3)

Changed February 27, 2012 04:21PM UTC by jzaefferer comment:1

status: newopen


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

Changed October 11, 2012 02:49PM UTC by scottgonzalez comment:2


Changed February 26, 2014 02:53PM UTC by scottgonzalez comment:3

resolution: → duplicate
status: openclosed

Duplicate of #6642.