Arrows keys used for movement move whole page as well

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • The way I did it is by editing the "Runtime.js" file under the "src" folder and adding this block of code to it at the bottom then saving the changes:

    window.addEventListener("keydown", function(e) {
    // space and arrow keys
    if([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) {
    e.preventDefault();
    }
    }, false);


    you can see it in action here: Please login to see this link.

    if anyone knows a better method let us know!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!