Keyboard icon indicating copy to clipboard operation
Keyboard copied to clipboard

problem with clicking shift on touch screen

Open Suka1215 opened this issue 9 years ago • 5 comments

When I click shift on a touch screen the keyboard switches to uppercase and then switches back to lowercase by itself. If I manage to get uppercase and click a letter it stores a lowercase letter in the input. I would appreciate any help with this.

Suka1215 avatar Jan 18 '17 02:01 Suka1215

Hi @Suka1215!

If you want the shift to "stick", set the stickyShift option to true (demo).

The demo from issue #81 won't work with the stickyShift option set because the change callback would disable the shift because the code was looking for a period to the left of the caret, and if it wasn't there, the key set would be set to "normal" (non-shift).

Mottie avatar Jan 18 '17 03:01 Mottie

Thanks for the quick response Mottie. I may have mis spoke. I don't want shift to stick. I am needing to hit it once enter a capital letter and have it go back to lower case. Problem it when it switches to uppercase and I hit the uppercase letter it doesn't put and uppercase in the input... just lowercase. But only on touch screen with my finger.

Suka1215 avatar Jan 18 '17 12:01 Suka1215

I guess I was wondering how we ensure that pressing shift on a touch screen selects and ensures that uppercase is entered into the input. Or you could point me to what lines in the library deal with that functionality.

Suka1215 avatar Jan 18 '17 12:01 Suka1215

I am not able to duplicate that issue. I've tried it on my Android tablet & phone. Is this issue only showing up for you on a specific device? Are you seeing the issue on the main demo page?

Mottie avatar Jan 18 '17 18:01 Mottie

I'm guessing this issue has been resolved, so I'm going to close it. If you continue to have problems, please feel free to continue the discussion in this thread.

Mottie avatar Mar 16 '17 10:03 Mottie