jquery-meiomask
jquery-meiomask copied to clipboard
Drag and Drop text in number field is not triggering the mask
Steps to reproduce: select some text in the browser, hold right button of the mouse and drag it to some textfield with numeric mask. It allows the text to be inserted in the field.
I still don't have a fix for that ... I've tried to call:
setTimeout(this._onPaste(e, o), 1);
just like you do for paste event, but once scope is different it throws some errors, thus I've decided to open the issue an get some feed back. Maybe _onFocus is not a good place.
Just let me know your comments.
Regards,
If you call the event paste on blur event or change, this should work. If you use html 5, might try something with Drag and Drop