Mottie / Keyboard

Virtual Keyboard using jQuery ~

Home Page:http://mottie.github.io/Keyboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shift key should not act as caps lock

RABensoussan opened this issue · comments

Why does the shift key act as a caps lock? On a regular keyboard the shift key means "make this one letter caps" and caps lock means "make all letters caps til I click you again". Is there a method or way to have the shift key turn on the caps for just one keypress?

Hi @RABensoussan!

The shift key will only have that behavior if you set the stickyShift option to true. Otherwise, it should only apply to the first letter typed after using the shift.

If that doesn't turn out to be the problem, please modify this demo to show the problem.

Thanks, that was it! Tried looking through the options today and couldn't find it. Why is that the default? Shouldn't it act like a keyboard? I wasn't setting it to true...to fix it now I specifically set it to false.
Either way, thanks again