Mottie / Keyboard

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

Event / Method to check if there is a collision #488

Open stenvdb opened 8 years ago

stenvdb commented 8 years ago

Is it possible to check whether or not there is a collision and the keyboard is "flipped". Something as simple as a class on the keyboard wrapper "ui-keyboard-collision" for example.

Mottie commented 8 years ago

Hi @Stenvdb!

Sorry for the long delay in responding. I've been away on a much needed extended vacation.

The keyboard collision code is done by the jQuery UI position utility. I don't think there is any way to accomplish this with the position utility, but you might want to ask the jQuery UI developers or try Stackoverflow.

Update: See http://stackoverflow.com/q/5636014/145346