Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#13579 closed bug (notabug)

Can't able to select textarea if i use cancel option in draggable interaction

Reported by: pyadav@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: git
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/davidThomas/gsw55/1/

Change History (3)

comment:1 Changed 7 years ago by scottgonzalez

Resolution: notabug
Status: newclosed

This works just fine for me. But, if you're having problems I suggest the following:

  • Report this to http://bugs.jqueryui.com since this is about jQuery UI not jQuery core.
  • Include an accurate description; there is no textarea in you test case.
  • Use the latest version of jQuery UI; you're over a dozen versions behind.
  • Specify the browsers in which it does and does not work for you.

comment:2 in reply to:  1 Changed 7 years ago by pyadav

Replying to scott.gonzalez:

This works just fine for me. But, if you're having problems I suggest the following:

  • Report this to http://bugs.jqueryui.com since this is about jQuery UI not jQuery core.
  • Include an accurate description; there is no textarea in you test case.
  • Use the latest version of jQuery UI; you're over a dozen versions behind.
  • Specify the browsers in which it does and does not work for you.

I am sorry for wrong jsfiddle

here it is

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/

comment:3 Changed 7 years ago by scottgonzalez

That's correct. You're telling the draggable to drag while on the textarea. Please read the documentation and notice that the default cancel option includes textarea.

Note: See TracTickets for help on using tickets.