Mathachew / jquery-autotab

A jQuery plugin that provides auto tabbing and filtering on text fields in a form
http://autotab.mathachew.com/
366 stars 98 forks source link

Format doesn't handle drag and drop #73

Closed patstuart closed 9 years ago

patstuart commented 9 years ago

Dragging and dropping text from elsewhere into the textbox does not trigger the format filter.

I believe this can be fixed by simply adding the drop element to the paste event handler such that

}).on('paste', function (e) {

becomes

}).on('drop paste', function (e) {

. Tested on IE8+, Chrome, and Firefox (if I recall correctly). I am not familiar enough with the pull process to make this change on my own. :)

Mathachew commented 9 years ago

I'm a little disappointed in myself for not thinking of that since dragging text into a textbox is something I've done plenty of times in the past. I'll be sure to include this in the next update, which I meant to do last week but got tied up with other things. Thanks!

Mathachew commented 9 years ago

@patstuart Drop support has been added, and even works for IE6 and 7: Autotab 1.9.0