hammer.js v2.0.8 Release Notes

Release Date: 2016-04-22 // over 5 years ago
  • Manager
    • โž• Added check to ensure that the required parameters are present (#908, 085d3a8)
    • ๐Ÿ›  Fixed restoration of Hammer.defaults.cssProps on destory (#904theregttr5ki, 7d0e60f)
    Input
    • ๐Ÿ›  Fixed de-duping of mouse events on mouse touch combo devices (#917, #863, bfeb89a)
    Touch-action
    • โž• Added support map for specific values of touch-action (#952, fbe9fd7)

Previous changes from v2.0.6

    • โž• Add Assign method and deprecate merge and extend (#895fc01eae)
    • ๐Ÿ”ฆ Expose Hammer on window or self if either is defined to avoid issues when AMD is present but not used. ( 356f795)
    • โž• Add support for PointerEvent instead of MSPointerEvent if supported. (#754, 439c7a6)
    • ๐Ÿ›  Fixed moz-prefix, prefix should be Moz not moz. (3ea47f3)
    • โœ‚ Removed non-existant recognizer (f1c2d3b)
    • ๐Ÿ›  Fixed config leaking between instances(189098f)
    • ๐Ÿ›  Fixed gaps in gesture configs and update tests to match (70c2902)
    • ๐Ÿ›  Fixed Manager off method (#768, da49a27)
    • โž• Added compatibility with requirejs optimizer namespaces ( 70075f2)
    • โœ… Made touchaction test zoomable ( 50264a7)
    • ๐Ÿ›  Fixed preventing default when for pan-x pan-y case ( 95eaafa)
    • ๐Ÿ›  Fixed incorrect touch action pan direction ( a81da57)
    • ๐Ÿ›  Fixed combined pan-x pan-y to resolve to none ( fdae07b)
    • ๐Ÿ›  Fixed inverted touch-action for pan recognizer (#728, 605bd3b)
    • ๐Ÿ›  Fixed dependency on non standard touch list ordering (#610, #791, 287720a)
    • ๐Ÿ›  Fixed swipe to not trigger after multitouch gesture (#640, 711d8a1)
    • ๐Ÿ›  Fixed swipe recognizer to use overall gesture direction and velocity ( 963fe69)
    • ๐Ÿ›  Fixed getDirection returning reversed direction ( e40dcde)
    • ๐Ÿ›  Fixed detection of tap when multi touch gestures are present ( c46cbba)
    • ๐Ÿ›  Fixed incorrect event order (#824, 92f2d76)
    • ๐Ÿ›  Fixed leaking options between recognizer instances (#813, af32c9b)
    • ๐Ÿ›  Fixed detection when element has no style attribute ( 5ca6d8c)