Issue 278: Clicking on the scroll bar in a scrollable tree (overflow: scroll) causes onDragStart
Status:  Fixed
Owner: ----
Closed:  Jun 2012
Reported by Freedman...@gmail.com, Feb 15, 2012
What steps will reproduce the problem?
1. Declare a scrollable treeview (overflow: scroll, position: relative, height smaller than the number of rows that can fit).
2. Click on the vertical scrollbar and scroll, then release.
3. Move the mouse around without clicking. You'll see the drop zone graphic moving along, as if you're still dragging.

This is easily reproducible using the sample: http://wwwendt.de/tech/dynatree/doc/sample-dnd2.html

What is the expected output? What do you see instead?
I don't expect onDragStart to be triggered when clicking and dragging the scrollbar. Instead, it does.

What version of the dynatree and jQuery are you using?
dynatree-1.2.1_rc3
jquery-1.6.4.js

On what operating system and browser?
Windows (Chrome, IE, Firefox, Safari)
Lion (Chrome, Firefox, Safari)

What DOCTYPE declaration are you using?
<!DOCTYPE html>
Feb 15, 2012
Project Member #1 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Accepted
Labels: Milestone-Release1.2.1
Mar 9, 2012
#2 beagdok...@gmail.com
This code should fix it:

	start: function(event, ui) {
		var sourceNode = ui.helper.data("dtSourceNode");
		return !!sourceNode; // Abort dragging if no Node could be found
	},

line 3196 in 1.2.1
Jun 9, 2012
Project Member #3 moo...@wwwendt.de
This issue was closed by revision r600.
Status: Fixed