Opened 10 years ago
Closed 10 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
But if i remove cancel option than it work fine
Note: See
TracTickets for help on using
tickets.
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/.