Skip to content

Releases: martpie/react-keybinding-component

2.3.1

09 Mar 23:03

Choose a tag to compare

  • Allow nullable refs (as it should be)
  • Get rid of a useless useCallback

2.3.0

09 Mar 22:13

Choose a tag to compare

  • Added the possibility to pass a React.ref to target
  • Improved contenteditable detection by avoiding DOM traversal recursion
  • Improved preventDefault and stopPropagation to only fire if the keybinding target is valid
  • Chores and dependencies upgrades

2.2.0

16 May 11:17

Choose a tag to compare

  • Add preventContentEditableConflict prop, to prevent events from firing in case the event originates from a child of a contenteditable="true" element

2.1.0 was skipped, don't ask why :D

2.0.2

03 Jul 23:54

Choose a tag to compare

  • 🤦‍♂ Fixed infinite callstack
  • 🤦‍♂ Fixed typings

2.0.1

03 Jul 23:53

Choose a tag to compare

  • 🤦‍♂ Fixed react being included in the component

2.0.0

03 Jul 23:20
d434088

Choose a tag to compare

  • ⚠️ Requires React 16.8 (re-written in Function Components with Hooks)
  • Now includes CJS + ESM builds

1.0.0

22 Nov 13:04

Choose a tag to compare

  • Library re-written in TypeScript
  • onKey is now required

0.5.1

30 Jul 23:10

Choose a tag to compare

  • Fixed some problems with PropTypes
  • Add a npm script to compile the lib

0.5.0

07 Jul 02:36

Choose a tag to compare

  • Compatibility with React 15.6 (thanks @danyim)

0.4.1

23 Dec 00:07

Choose a tag to compare

  • Add preventDefault and stopPropagation props
  • Fix preventInputConflict