Commit Graph
266 Commits
Author SHA1 Message Date
Brian Vaughn 7c51f897ce Experiment with rollup-plugin-postprocess to reduce bundle size
This shaved 104 B off of a create-react-app that imported the FixedSizeList component.
2019-03-04 14:15:18 -08:00
Brian Vaughn 7b5dd7c348 1.6.1 -> 1.6.2 1.6.2 2019-03-04 11:24:56 -08:00
Brian Vaughn dcb9c55c75 Bugfix for RTL when scrolling back towards the beginning (right) of the list 2019-03-04 11:24:24 -08:00
Brian Vaughn e0d0dce1af 1.6.0 -> 1.6.1 1.6.1 2019-03-04 11:10:31 -08:00
Brian Vaughn fb159091fd Bugfix to account for differences between Chrome and non-Chrome browsers with regard to RTL and "scroll" events. 2019-03-04 11:10:21 -08:00
Brian Vaughn b2ea9ad1f4 1.5.2 -> 1.6.0 1.6.0 2019-03-04 10:05:02 -08:00
Brian Vaughn 84ba74acad Merge pull request #155 from jgoz/upgrade-memoize-one
Upgrade memoize-one
2019-03-04 10:00:59 -08:00
Brian Vaughn 0f24e9a688 Removed Rollup terser plug-in for now because it was bloating the bundle 2019-03-04 09:46:54 -08:00
John Gozde 9c24344f3c Use version range for memoize-one 2019-03-04 10:26:49 -07:00
Brian Vaughn a724ee19a8 Upgrade Rollup. Add Terser plug-in. 2019-03-04 08:25:57 -08:00
Brian Vaughn 7130e03555 Shrink domHelpers. Remove unnecessary style. Better minification. 2019-03-04 08:25:57 -08:00
Brian Vaughn c6fa7aaaf7 Merge pull request #156 from bvaughn/issues/148
RTL support
2019-03-04 08:10:18 -08:00
Brian Vaughn 38732dd326 Added 'direction' prop to grid (including docs and tests) 2019-03-03 17:48:56 -08:00
John Gozde e5d32f3afd Prettier 2019-03-03 17:46:21 -07:00
John Gozde 7d613516a9 Upgrade memoize-one in website 2019-03-03 17:13:15 -07:00
John Gozde ba279dcfff Upgrade memoize-one to ^5.0.0
Breaking changes between 3.1.2 and 5.0.0 do not react-window, since
they were around bundling (4.0) and the optional comparer function
(5.0), which is not used in this project.
2019-03-03 17:07:46 -07:00
Brian Vaughn 98c7ea733a Deprecate list direction=horizontal|vertical in favor of direction=ltr|rtl and separate layout=horizontal|vertical 2019-03-03 14:20:28 -08:00
Brian Vaughn 112f102f3a Renamed FixedSizeListRtl to RTLLayout 2019-03-03 13:57:21 -08:00
Brian Vaughn a42c2fba96 Prettier 2019-03-03 12:54:31 -08:00
Brian Vaughn 05df0f46c9 Merge branch 'issues/148' of https://github.com/davidgarsan/react-window into davidgarsan-issues/148 2019-03-03 12:53:35 -08:00
Brian Vaughn c747a2989c Only count scrollbar size in scrollToItem() when scrolling is required 2019-03-02 21:41:45 -08:00
Brian Vaughn 97bd7e0c89 Grid scrollToItem() takes scrollbar size into consideration 2019-03-02 11:12:34 -08:00
David ebdb13141b Fix lint error 2019-03-01 12:58:09 +01:00
David cdf8454869 Add RTL support for List component 2019-03-01 12:09:59 +01:00
Brian Vaughn 44c0200cc1 Merge pull request #142 from ShoeIace/patch-1
Create LICENSE.md
2019-02-21 10:23:38 -08:00
ShoeIace a9e792b8ac Create LICENSE.md 2019-02-21 10:17:12 -08:00
Brian Vaughn 7c3c55840d 1.5.2 1.5.2 2019-02-18 17:29:47 -08:00
Brian Vaughn eabe58f6d4 Added tests and fixed same potential bug in VariableSizeGrid 2019-02-18 17:27:10 -08:00
Amit Solanki 3a398a1fdc Update VariableSizeList.js 2019-02-18 09:32:45 +05:30
Amit Solanki 09717d838e Handle case when number of element reduces in list 2019-02-18 09:31:18 +05:30
Brian Vaughn a22f3e983d 1.5.0 -> 1.5.1 1.5.1 2019-01-28 14:33:51 -08:00
Brian Vaughn a83c5cdf80 Updated getDerivedState Flow annotations to address a warning in a newer version of Flow. 2019-01-28 14:33:37 -08:00
Brian Vaughn f8cf9fa0c6 Removed use of Array.prototype.fill to unbreak IE11 2019-01-15 11:43:52 -08:00
Brian Vaughn 84f5792b2e Remove Array.prototype.includes() usage from website to unbreak IE11 2019-01-15 11:23:11 -08:00
Brian Vaughn 893a0bac52 1.4.0 -> 1.5.0 2018-12-27 20:35:05 -05:00
Brian Vaughn aee9848fea Merge pull request #114 from bvaughn/advanced-memoization-techniques
Added areEqual and shouldComponentUpdate methods
2018-12-27 20:32:47 -05:00
Brian Vaughn 62fee1b7bb Reverted unnecessary changes to website examples 2018-12-27 20:31:51 -05:00
Brian Vaughn a8291ebf33 Fixed minor Flex layout issue in website docs 2018-12-27 20:27:56 -05:00
Brian Vaughn 80bc98838b Added areEqual and shouldComponentUpdate methods 2018-12-27 20:06:45 -05:00
Brian Vaughn 01028a90b1 1.3.1 -> 1.4.0 2018-12-21 15:07:13 -08:00
Brian Vaughn 8ff411c06c Merge pull request #112 from bvaughn/overscan-tweaks
1.4.0
2018-12-21 15:06:34 -08:00
Brian Vaughn 9d7c3f59bf List re-renders item sxwhen direction prop changes 2018-12-21 15:05:12 -08:00
Brian Vaughn 33bb87506f Improved deprecated prop formatting 2018-12-21 14:59:07 -08:00
Brian Vaughn 5d4e30a899 Deprecated outerTagName+innerTagName props in favor of outerElementType+innerElementType props 2018-12-21 14:54:27 -08:00
Brian Vaughn c37a32a930 Replaced setTimeout with requestAnimationFrame based timer, to avoid starvation issue for isScrolling reset. 2018-12-21 14:11:31 -08:00
Brian Vaughn 8f6e421388 Grid overscans in both directions when not scrolling. 2018-12-21 13:36:42 -08:00
Brian Vaughn 626d3d459b Updated CHANGELOG 2018-12-21 13:18:07 -08:00
Brian Vaughn 08fe116317 Deprecated grid overscanCount prop in favor of overscanColumnsCount and overscanRowsCount 2018-12-21 13:17:59 -08:00
Brian Vaughn 343ca5b4b2 List overscans in both directions when not scrolling. 2018-12-21 12:44:25 -08:00
Brian Vaughn 2f21738acb Updated onItemsRendered docs to clarify expected memoization behavior 2018-12-06 09:00:21 -08:00