jquery-meiomask icon indicating copy to clipboard operation
jquery-meiomask copied to clipboard

Drag and Drop text in number field is not triggering the mask

Open ReginaldoSantos opened this issue 12 years ago • 1 comments

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,

ReginaldoSantos avatar Jan 15 '13 19:01 ReginaldoSantos

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

jcspader avatar Jul 01 '13 17:07 jcspader