Skip to main content

Search and Top Navigation

#9144 closed bug (notabug)

Opened March 08, 2013 05:39AM UTC

Closed March 08, 2013 01:24PM UTC

CAN'T ABLE TO SELECT TEXTAREA IF I USE CANCEL OPTION IN DRAGGABLE INTERACTION

Reported by: pyadav Owned by:
Priority: minor Milestone: none
Component: ui.draggable Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:
Description

i wana to make an div element draggable, but not its one of child elements, using jQuery UI

when i do it ''' I can't able to select or focus textarea

http://jsfiddle.net/pyadav/4fafA/

But if i remove cancel option than it work fine'''

http://jsfiddle.net/pyadav/a4sRG/

Attachments (0)
Change History (1)

Changed March 08, 2013 01:24PM UTC by tj.vantoll comment:1

resolution: → notabug
status: newclosed

Hi pyadav,

Thanks for taking the time to contribute to the jQuery UI project. The default of the cancel option (http://api.jqueryui.com/draggable/#option-cancel) is

"input,textarea,button,select,option"
, meaning, if you specify your own cancel option and want textareas excluded you must explicitly list them: http://jsfiddle.net/4fafA/1/.