Opened 14 years ago

Closed 10 years ago

Last modified 10 years ago

#4261 closed bug (fixed)

Draggable: Inputs do not blur when clicking on a draggable

Reported by: lunchtimemama Owned by:
Priority: minor Milestone: 1.11.0
Component: ui.draggable Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

Description

If an input is focused and the user clicks on an element which functions as a draggable handle, the input does not blur.

Change History (12)

comment:1 Changed 14 years ago by Scott González

Milestone: TBD1.8

comment:2 Changed 14 years ago by Jörn Zaefferer

Reproducable, both with and without handle: http://jsbin.com/uyuha/edit

comment:3 Changed 13 years ago by nlg

Reproduced (FF 3.5.6 / jquery 1.8pre)

jquery.ui.mouse.js

Line 92: ($.browser.safari
event.preventDefault());

Has the following description: preventDefault() is used to prevent the selection of text here - however, in Safari, this causes select boxes not to be selectable anymore, so this fix is needed

If L92 is removed Safari/FF seem to propagate events properly.

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

Milestone: 1.9.02.0.0

comment:5 Changed 11 years ago by kenjiyamamoto

Resolution: fixed
Status: newclosed

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

Resolution: fixed
Status: closedreopened

comment:7 Changed 11 years ago by alorrorl

In Firefox 16 and 17 beta, the inputs do not even receive a click unless the input already has focus.

comment:8 Changed 11 years ago by mikesherov

Status: reopenedopen

comment:9 Changed 11 years ago by mikesherov

Summary: Inputs do not blur when clicking on a draggable handleDraggable: Inputs do not blur when clicking on a draggable

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

Related to #8399

comment:11 Changed 10 years ago by Steven Luscher

Resolution: fixed
Status: openclosed

Draggable: active element blurs when clicking on a draggable. Fixes #4261 - Draggable: Inputs do not blur when clicking on a draggable

Changeset: fcd1cafac8afe3a947676ec018e844eeada5b9de

comment:12 Changed 10 years ago by mikesherov

Milestone: 2.0.01.11.0
Note: See TracTickets for help on using tickets.