Opened 7 years ago

Closed 7 years ago

#9144 closed bug (notabug)

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/

Change History (1)

comment:1 Changed 7 years ago by tj.vantoll

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/.

Note: See TracTickets for help on using tickets.