Open kindfulkirby opened 6 years ago
Hm, probably related to how the love.js/emscripten/SDL combination handles input. Does clicking in and out of canvas' change aynthing?
Nevermind, I probably blocked them on purpose in a cheap way to prevent the page floating around when you test the samples:
https://github.com/love2d-community/love2d-book/blob/master/book/docinfo.html
This should be changed to apply only when one of the canvas' has focus.
I can scroll using the mouse wheel or PgUp/Dn but not the arrow keys. It's not strictly speaking necessary, but really weird to not be able to do that.
Is something capturing and throwing away arrow key events?
Tested in Vivaldi (Chromium based) & Firefox on Linux.