PDA

View Full Version : Ext.dd.DDProxy div layer text selection problem



xjpmauricio
28 Sep 2011, 2:27 PM
Hi, i have a div layer, wich is draggable by using a Ext.dd.DDProxy. Inside that div, the text is editable because i've set the div's property contenteditable to true.

I have one problem: if i try to select the text inside, the layer starts dragging; how can i avoid the layer drag on text selection? and keep the drag itself?

What sould i override? css? javascript? any ideias?