When dragging an item in the tree it will also select any text it has passed (originating point to mouse location). Is there any way to disable this so it looks the same on for example FireFox?
Could you please provide the demo sample.
during the drag-n-drop tree behaves in the same way - it always highlight the target item. So, it means the behavior, that is demonstrated in IE, is correct. Please, check the sample:
dhtmlx.com/docs/products/dhtmlxT … _drag.html
The style of the “dragIn” item is set in the selectionBox class, dhtmlxtree.css:
.selectionBox{
background-color: #FFFFCC;
}
The demonstration xTree’s on the front page of your site have the same problem. Text selection occurs during drag, some examples on different pages however don’t.
Attached is a small jpg which shows the problem at hand.
Browser is IE 8. Doesn’t happen on FireFox (No text selection during drag).
Hello,
we have managed to re-create the issue. Please, try to set background color for the tree container. That can fix the issue:
tree.allTree.style.backgroundColor=“white”;
Changing the background color did not solve the issue.
Hello,
Locally we can’t re-create problem if the background is set. Please, provide any sample.