bodil/purescript-signal

Version of `keyPressed` that prevents default

Open

#62 aperta il 21 ott 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)PureScript (41 fork)github user discovery
good first issuehelp wanted

Metriche repository

Star
 (260 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I have couple of signals for arrow keys that are causing the browser to scroll. I don't see a way to work around this using current keyPressed, so maybe we could add version of keyPressed that prevents the default event.

Guida contributor