Socket
Socket
Sign inDemoInstall

react-key-handler

Package Overview
Dependencies
97
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

1.2.0-beta.3

Diff

Changelog

Source

[1.2.0-beta.3] - 2018-08-30

  • [feature] Add code support by @gforge
  • [deprecate] keyCode prop in favour of code by @gforge
  • [feature] Allows for keyValue, code and keyCode to come in array format by @gforge
  • [breaking] No longer add a <div /> wrapper around the KeyHandler component, but use React.Fragment instead
ayrton
published 1.2.0-beta.2 •

Changelog

Source

[1.2.0-beta.2] - 2018-08-21

  • [bugfix] Pass original props to component we are decorating when using one of the decorators
ayrton
published 1.2.0-beta.1 •

Changelog

Source

[1.2.0-beta.1] - 2018-08-21

  • [feature] Use rollup to bundle up the code
ayrton
published 1.1.0 •

Changelog

Source

[1.1.0] - 2018-07-31

There's two major bugs in 1.1.0, it is highly recommended to update to 1.2.0 or downgrade to 1.0.1

  • [feature] Add flow support by @gforge
  • [bugfix] Fallback from event.keyCode to event.which for browsers such as FireFox when using the keypress event name. @gforge
ayrton
published 1.0.1 •

Changelog

Source

[1.0.1] - 2017-10-26

  • [feature] Loosen react dependency to support React 16
ayrton
published 1.0.0 •

Changelog

Source

[1.0.0] - 2017-08-28

  • [breaking] Drop keyName support
  • [bugfix] Get rid of deprecation warnings
ayrton
published 0.3.0 •

Changelog

Source

[0.3.0] - 2016-09-13

  • [feature] Treat content editable elements as inputs by @jamesfzhang. This means the key handle will be ignored for events triggered from these elements. (Draft.js support)
ayrton
published 0.2.0 •

Changelog

Source

[0.2.0] - 2016-04-17

  • [feature] Loosen react dependency for future react versions
  • [deprecate] keyName prop in favour of keyValue
  • [feature] Added prop types
  • [feature] Add support for W3C KeyboardEvent.key by @leocavalcante
ayrton
published 0.1.0 •

Changelog

Source

[0.1.0] - 2016-03-02

  • [feature] Add decorators
  • [feature] Ignore key events from form elements
  • [feature] Key names
ayrton
published 0.0.4 •

Changelog

Source

[0.0.4] - 2016-02-27

  • [bugfix] Use right function to remove the event listener
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc