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

Keyboard.presses not working in Firefox v 42.0 #462

Closed
danchoi opened this Issue Dec 15, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@danchoi

danchoi commented Dec 15, 2015

This code works in Chrome and Safari for OS X, but not for Firefox v 42:

module KeyboardSignals where

import Keyboard
import Signal exposing (map)
import Graphics.Element exposing (show)

main = show `map` Keyboard.presses

In Safari and Chrome, pressing keys makes the number at the top update with the KeyCode. In Firefox v 42, the number remains "0" no matter what.

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender
Contributor

jvoigtlaender commented Jan 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment