react-fastclick v2.0.0 Release Notes

Release Date: 2016-01-20 // about 8 years ago
  • ๐Ÿ‘ Big rewrite to support 0.14 and previous version (at least back to 0.12.x)

    • Modify elements that have onClick props with additional event props
    • โฌ‡ Decrease chance of memory leaks
    • ๐Ÿ›  Fixes #13 (removing, hiding and moving elements still triggering click events)
    • ๐Ÿš€ Click events only triggered if touch released on same element
    • ๐Ÿ‘ Allow standard onClick events to happen (allowing checkboxes, labels, inputs, focusing, etc to function)
    • ๐Ÿ– Handle special cases for inputs etc be focussed / accessed quickly
    • โœ‚ Remove need for timeouts
    • ๐Ÿ– Handle React.DOM.x element creation
    • ๐Ÿ‘Œ Support 0.14+ (fixes #14)
    • ๐Ÿ‘Œ Support older versions of React (theoretically - not tested)

    ๐Ÿ†• New features (mentioned in / fixes #4)

    • โž• Added event.button = 0
    • ๐Ÿ”„ Changed event.type to click
    • โž• Added event.fastclick = true
    • Copy touch positions to event