Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is a simple script. I pasted it on jsfiddle and tried it. Drag works but can not enter value to input box. Same code works fine on IE but issue is in FireFox and chrome.
HTML:
<div id='popup' class='popwin'> <div id='header' class='header'> </div> <div id='prop_input' > < input id='input' value='enter value'> </input> </div> </div>
CSS:
#popup { background-color: #fff; border: 1px solid #303030; float: left; top:500px; width: 30%; height:100px; } #header { background-color: #4422ff; border: 1px solid #808080; float: left; width: 99%; height:20px; cursor:'move'; }
JS:
var popwin = $$('.popwin'); $$('.header').setStyle('cursor', 'move'); var dragme = function(event) { var draga = new Drag.Move(this, { }); draga.start(event); }; popwin.addEvent('mousedown', dragme);
Test case on jsfiddle.net
http://jsfiddle.net/CvGcb/4/
The text was updated successfully, but these errors were encountered:
fixing issue #1159
133328c
Merge add unDraggableTags to Drag
fa1acb1
* pr1180: specs and code style fix fixing issue #1159 g issue #1159
Fixed in fa1acb1
Successfully merging a pull request may close this issue.
Here is a simple script. I pasted it on jsfiddle and tried it. Drag works but can not enter value to input box.
Same code works fine on IE but issue is in FireFox and chrome.
HTML:
CSS:
JS:
Test case on jsfiddle.net
http://jsfiddle.net/CvGcb/4/
The text was updated successfully, but these errors were encountered: