diff --git a/react-list.es6 b/react-list.es6 index 0bcd4bd..af1b760 100644 --- a/react-list.es6 +++ b/react-list.es6 @@ -9,7 +9,7 @@ const OFFSET_START_KEYS = { x: 'offsetLeft', y: 'offsetTop' }; const OVERFLOW_KEYS = { x: 'overflowX', y: 'overflowY' }; const SCROLL_SIZE_KEYS = { x: 'scrollWidth', y: 'scrollHeight' }; const SCROLL_START_KEYS = { x: 'scrollLeft', y: 'scrollTop' }; -const SIZE_KEYS = { x: 'width', y: 'height' }; +const SIZE_KEYS = { x: 'minWidth', y: 'minHeight' }; const NOOP = () => {}; diff --git a/react-list.js b/react-list.js index 98cef81..b3d654e 100644 --- a/react-list.js +++ b/react-list.js @@ -85,8 +85,8 @@ y: 'scrollTop' }; var SIZE_KEYS = { - x: 'width', - y: 'height' + x: 'minWidth', + y: 'minHeight' }; var NOOP = function NOOP() {}; // If a browser doesn't support the `options` argument to