react-virtualized
Advanced tools
Comparing version 5.3.1 to 5.3.2
Changelog | ||
------------ | ||
##### 5.3.2 | ||
Decoupled x/y axes in `Grid` when determining whether or not to enable overflow. | ||
This results in more robustly handling issues like the one reported in PR #133. | ||
It also comes with the small cost of partially obscuring a small part of cells (the area used by a scrollbar). | ||
##### 5.3.1 | ||
@@ -5,0 +10,0 @@ Fixed edge-case where always-on scrollbars were not hidden once shown (see issue #116). |
@@ -416,6 +416,10 @@ 'use strict'; | ||
// For more info see issue #116 | ||
if (totalColumnsWidth <= width && totalRowsHeight <= height) { | ||
gridStyle.overflow = 'hidden'; | ||
if (totalColumnsWidth <= width) { | ||
gridStyle.overflowX = 'hidden'; | ||
} | ||
if (totalRowsHeight <= height) { | ||
gridStyle.overflowY = 'hidden'; | ||
} | ||
return _react2.default.createElement( | ||
@@ -422,0 +426,0 @@ 'div', |
@@ -389,6 +389,10 @@ | ||
// For more info see issue #116 | ||
if (totalColumnsWidth <= width && totalRowsHeight <= height) { | ||
gridStyle.overflow = 'hidden'; | ||
if (totalColumnsWidth <= width) { | ||
gridStyle.overflowX = 'hidden'; | ||
} | ||
if (totalRowsHeight <= height) { | ||
gridStyle.overflowY = 'hidden'; | ||
} | ||
return React.createElement( | ||
@@ -395,0 +399,0 @@ 'div', |
@@ -6,3 +6,3 @@ { | ||
"user": "bvaughn", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"homepage": "https://github.com/bvaughn/react-virtualized", | ||
@@ -9,0 +9,0 @@ "main": "dist/commonjs/index.js", |
@@ -36,2 +36,16 @@ <img src="https://cloud.githubusercontent.com/assets/29597/11737732/0ca1e55e-9f91-11e5-97f3-098f2f8ed866.png" alt="React virtualized" data-canonical-src="https://cloud.githubusercontent.com/assets/29597/11737732/0ca1e55e-9f91-11e5-97f3-098f2f8ed866.png" width="330" height="100" /> | ||
Here are some online demos of each component: | ||
* [AutoSizer](https://bvaughn.github.io/react-virtualized/?component=AutoSizer) | ||
* [ColumnSizer](https://bvaughn.github.io/react-virtualized/?component=ColumnSizer) | ||
* [FlexTable](https://bvaughn.github.io/react-virtualized/?component=FlexTable) | ||
* [Grid](https://bvaughn.github.io/react-virtualized/?component=Grid) | ||
* [InfiniteLoader](https://bvaughn.github.io/react-virtualized/?component=InfiniteLoader) | ||
* [ScrollSync](https://bvaughn.github.io/react-virtualized/?component=ScrollSync) | ||
* [VirtualScroll](https://bvaughn.github.io/react-virtualized/?component=VirtualScroll) | ||
And here are some "recipe" type demos: | ||
* [Collapsable tree view](https://rawgit.com/bvaughn/react-virtualized/master/playground/tree.html) | ||
* [Full-page grid (spreadsheet)](https://rawgit.com/bvaughn/react-virtualized/master/playground/grid.html) | ||
Contributions | ||
@@ -38,0 +52,0 @@ ------------ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
614519
47
7157
66