RobinHerbots / inputmask.phone

Phone alias for Inputmask
MIT License
6 stars 9 forks source link

Strange placeholder behavior #8

Open e11e11e opened 4 years ago

e11e11e commented 4 years ago

Hello! Thank you for your plugins! I'm trying to upgrade to the last version of plugins. I included jquery.inputmask.js, inputmask.phone.extensions.js, /phone-codes/phone.js Html is <input type="text" class="mask_phone" value=""> And jquery code is $("input.mask_phone").inputmask("phone");

Everything works fine, but the mask in the phone field is always visible! It doesn't seem quite right. It has to show only on hover. And if I enter a value and then delete it, then everything becomes correct.

See the video: https://recordit.co/KcabM4nFmD