Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use arrow keys to scroll #11

Open
kindfulkirby opened this issue Apr 28, 2018 · 2 comments
Open

Can't use arrow keys to scroll #11

kindfulkirby opened this issue Apr 28, 2018 · 2 comments

Comments

@kindfulkirby
Copy link

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.

@s-ol
Copy link
Member

s-ol commented Apr 28, 2018

Hm, probably related to how the love.js/emscripten/SDL combination handles input. Does clicking in and out of canvas' change aynthing?

@s-ol
Copy link
Member

s-ol commented Apr 28, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants