react-image-gallery
Advanced tools
Comparing version 0.8.13 to 0.8.14
@@ -366,4 +366,2 @@ 'use strict'; | ||
} | ||
window.addEventListener('keydown', _this._handleKeyDown); | ||
return _this; | ||
@@ -400,5 +398,3 @@ } | ||
} | ||
if (!this.props.disableArrowKeys) { | ||
window.addEventListener('keydown', this._handleKeyDown); | ||
} | ||
window.addEventListener('keydown', this._handleKeyDown); | ||
this._onScreenChangeEvent(); | ||
@@ -405,0 +401,0 @@ } |
{ | ||
"name": "react-image-gallery", | ||
"version": "0.8.13", | ||
"version": "0.8.14", | ||
"description": "React carousel image gallery component with thumbnail and mobile support", | ||
@@ -67,5 +67,5 @@ "main": "./build/image-gallery.js", | ||
"prop-types": "^15.5.8", | ||
"react-swipeable": "^4.2.2", | ||
"react-swipeable": "^4.3.2", | ||
"resize-observer-polyfill": "^1.5.0" | ||
} | ||
} |
@@ -39,4 +39,2 @@ import React from 'react'; | ||
} | ||
window.addEventListener('keydown', this._handleKeyDown); | ||
} | ||
@@ -195,5 +193,3 @@ | ||
} | ||
if (!this.props.disableArrowKeys) { | ||
window.addEventListener('keydown', this._handleKeyDown); | ||
} | ||
window.addEventListener('keydown', this._handleKeyDown); | ||
this._onScreenChangeEvent(); | ||
@@ -200,0 +196,0 @@ } |
132535
2958
Updatedreact-swipeable@^4.3.2