Opened 8 years ago

Closed 4 years ago

Last modified 4 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 8 years ago by scottgonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 8 years ago by jzaefferer

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

comment:3 Changed 7 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 4 years ago by scottgonzalez

  • Milestone changed from 1.9.0 to 2.0.0

comment:5 Changed 4 years ago by kenjiyamamoto

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

comment:6 Changed 4 years ago by scottgonzalez

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:7 Changed 4 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 4 years ago by mikesherov

  • Status changed from reopened to open

comment:9 Changed 4 years ago by mikesherov

  • Summary changed from Inputs do not blur when clicking on a draggable handle to Draggable: Inputs do not blur when clicking on a draggable

comment:10 Changed 4 years ago by scottgonzalez

Related to #8399

comment:11 Changed 4 years ago by Steven Luscher

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

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 4 years ago by mikesherov

  • Milestone changed from 2.0.0 to 1.11.0
Note: See TracTickets for help on using tickets.