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

addEventListener dont work #102

Closed
emersonlaurentino opened this issue Aug 12, 2018 · 1 comment
Closed

addEventListener dont work #102

emersonlaurentino opened this issue Aug 12, 2018 · 1 comment

Comments

@emersonlaurentino
Copy link

emersonlaurentino commented Aug 12, 2018

When there is an anchor tag on the slide and it is focused, the right and left key events no longer work.

Can you check: https://github-ds.now.sh/#28 (click on link and try move to other slide pressing right or left key).

I use this browser:
screenshot from 2018-08-12 10-18-38

@jxnblk
Copy link
Owner

jxnblk commented Aug 12, 2018

Keyboard shortcuts only work when there isn’t a focused element. This is by design so that any react component should work as expected

@jxnblk jxnblk closed this as completed Aug 12, 2018
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