piano
piano copied to clipboard
can't read selectionStart property on input type ('email')
@kucherenkovova well this is "normal" input field type email does not support selection :) What do you need it for ?
This response pretty much explains it all : http://stackoverflow.com/a/25569117/632926
@gabrielstuff Yea, it works fine with normal input. But if we have input type email Piano.js doesn't check it on initialization, gives us no warnings and only when you press a button on virtual keyboard it causes an error.
Well let's fix this and use the proposed solution above.