Stop gap solution for starting development

We are not worthy :pray:

Let me know if there is something I can do on my side with css too.

1 Like

Hey @FManga I found this worked:

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

But if I implement that across the site, you can never use the arrows. If put that on your page, I think when it has focus, it should pass through?

If not, I’ll write some script to detect when the iframe has focus.

It might work if I target the iframe DOM element instead of the window for event listener too perhaps… but I don’t think so I think only the window has those routines?

1 Like

I think I’d have to put that inside the iframe, though it might work on the iframe itself. :thinking: