diff --git a/src/components/Item/ProgressiveLoadingContainer.js b/src/components/Item/ProgressiveLoadingContainer.js index ac0dd97df..17bc852e8 100644 --- a/src/components/Item/ProgressiveLoadingContainer.js +++ b/src/components/Item/ProgressiveLoadingContainer.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import debounce from 'lodash/debounce'; +import pick from 'lodash/pick'; const defaultDebounceMs = 100; const defaultBufferFactor = 0.25; @@ -66,14 +67,22 @@ class ProgressiveLoadingContainer extends Component { } render() { - const { children, className, style } = this.props; + const { children, className, style, ...props } = this.props; const { shouldLoad } = this.state; + const eventProps = pick(props, [ + 'onMouseDown', + 'onTouchStart', + 'onMouseUp', + 'onTouchEnd', + ]); + return (