Duk
Duk

Reputation: 135

jQuery draggable div with nested div with style overflow:auto

I have a popup div with a scrolling nested div. I want to be able to mouse down on a scrollbar and scroll down the content. But that action causes the entire div element to drag. Is there any way to resolve this issue? Here is my sample. http://jsfiddle.net/duklee/STF4k/

It seems to be working okay in IE7, not in Chrome & Firefox.

Thanks!

Upvotes: 2

Views: 670

Answers (1)

PriorityMark
PriorityMark

Reputation: 3247

This question has been asked quite a few times. In an attempt to help keep the future variations of this question down to a minimum, I went ahead and posted a bit more verbose version of the question (and an answer) here: Disabling jQuery drag when scrolling contents of draggable item

Or you can go directly to the jsfiddle

Upvotes: 1

Related Questions