Mottie/Keyboard

An error when input type email opens a keyboard

Closed this issue · 3 comments

On type text is working perfect but on email type I get this:

Uncaught InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('email') does not support selection. jquery.keyboard.js:1728.

There is a solution for it?
Thanks

Hi @Doc999tor!

Please see issue #241 & #302.

The latest version should not cause a javascript error.

Ok, now there shouldn't be an error when opening the keyboard in an email or number input. Sorry about that. The fix is currently available within the working branch of the repository.

Ok, this should be fixed in 1.19.0. Thanks for your patience!