-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
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
Allow text to be dropped into sortable INPUT fields #254
Comments
Create an example on jsbin.com |
Here is an example of the issue using the latest sortable code: - http://jsbin.com/gebedemanu/2/edit Here is an example of it working using the modified code proposed above: - http://jsbin.com/juvapomizu/2/edit You'll notice that you can drag and drop text from another browser window into the fields on the working example, but not on the one with the latest sortable code. Cheers, Tim Tim |
Try drop-text-branch |
Hi, Yes that works fine for me. Thanks! Tim On 7 February 2015 at 20:06, Lebedev Konstantin [email protected]
|
This issue seems to have regressed. I can't seem to drop text into fields using Sortable 1.1.1. Can we re-open this issue or should I create a new one? Cheers, |
Enhancement request: I have some INPUT fields and the default browser behaviour allows a user to drop text from another browser window directly into the input field. When I put these into a sortable list then this default functionality is prevented. I hope this makes sense.
The issue is that preventDefault() called on the dragover event. This happens even if I set dragoverBubble to true. I have managed to fix this by changing line 467: -
Would you like me to create a pull request for this?
Congratulations. It's a fantastic project, really well written and useful. Thanks.
The text was updated successfully, but these errors were encountered: