Mottie / Keyboard

Virtual Keyboard using jQuery ~
http://mottie.github.io/Keyboard/
Other
1.78k stars 723 forks source link

Problem with mouse enter and click firing at the same time #514

Closed Suka1215 closed 7 years ago

Suka1215 commented 7 years ago

When mouse enter is triggered it fires and click fires resulting in the keyboard not entering the correct values. Help?

Mottie commented 7 years ago

Hi @Suka1215!

Please provide a bit more information:

Suka1215 commented 7 years ago

Thank Mottie

It is chromium 52 I don't have a demo The only thing I removed was mouseenter and it worked the problem is if I did that I would have to include your code in certification. Is there a reason for watching for mouseenter as apposed to click as default?

I will say that your 1.12 build did work but the autoTextEnter did not. For instance if I type something it shows up in the input but the accept button does not becaome clickable because it's not registering that there was anything entered.

Thanks Again

Suka1215 commented 7 years ago

So on touchstart I am getting cannot read property key of undefined when I hit a key.

Mottie commented 7 years ago

I would have to include your code in certification.

I have no idea what you mean... it's an option that can be set upon initialization of the keyboard

Is there a reason for watching for mouseenter

Mouseenter is bound to give focus to the keyboard. This is needed for when keyboards are set as always open. Giving the keyboard focus also sets the input caret position so typing would continue from where it was left off.

I will say that your 1.12 build did work but the autoTextEnter did not

Are we still discussing this library? Version 1.12 was released on July 24, 2012. And there is no autoTextEnter option.

Mottie commented 7 years ago

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.