Skip to main content

Search and Top Navigation

#14905 closed bug (fixed)

Opened January 20, 2016 05:39PM UTC

Closed February 09, 2016 07:24PM UTC

Draggable does not correctly blur when handle is clicked

Reported by: dcherman Owned by:
Priority: minor Milestone: 1.12.0
Component: ui.draggable Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:
Description

When clicking on a handle on a draggable item, the active element is not correctly blurred if the click occurred on a descendent element due to a mismatch in two implementation of "did a click occur on this handle"

https://github.com/jquery/jquery-ui/blob/2775253b5118f00f4cd669ce618a9da59b98e783/ui/widgets/draggable.js#L148-L149

https://github.com/jquery/jquery-ui/blob/075421d6d965c66055e47cde477f0ce2e23f1755/ui/draggable.js#L322-L324

The implementation in _getHandle is the correct one since the other one does not take into account whether or not the click occurred on a descendent element of the handle.

Attachments (0)
Change History (2)

Changed January 25, 2016 03:28PM UTC by scottgonzalez comment:1

status: newopen

Related to #12472.

Changed February 09, 2016 07:24PM UTC by scottgonzalez comment:2

milestone: none1.12.0
resolution: → fixed
status: openclosed

Fixed in 63c103dd540897c9df0c064da36e5cf40b824518.