react-virtualized
Advanced tools
Changelog
6.0.7
Added key handling to sortable FlexTable
headers so that ENTER and SPACE keys can be used to toggle sort direction.
Changelog
6.0.6
Added conditional checks to when aria-label
, role
, and tabIndex
get attached to FlexTable
headers and rows.
These a11y properties are only added when on-click or sort handlers are present.
Changelog
6.0.5
Added aria-label
and role
attributes to FlexTable
, Grid
, and VirtualScroll
components to fix a11y issues reported by reactjs/react-a11y.
Thanks to @globexdesigns for the contributions!
Changelog
6.0.4
Separated horiontal and vertical Grid
metadata calculation to avoid unnecessarily recomputing row metadata for FlexTable
s and VirtualScroll
s when a browser's window is resized, for example.
Also replaced columnWidth
and rowHeight
getter uses in Grid.render
in favor of cached cell metadata instead.
Changelog
6.0.3
Small update to FlexTable
to move the rowGetter
call outside of the column loop to reduce the number of times that method gets called.
Changelog
6.0.2
Added transform-react-inline-elements to UMD build for minor runtime performance improvements. This change does not effect CommonJS or ES6 module builds because I did not want to remove prop-type checks. You should apply this transformation step as part of your own production build pipeline.
Changelog
6.0.1
Removed lingering references to react-pure-render
with with shallowCompare
.
This was meant to be part of the initial 6.0 release but was left out accidentally.
Changelog
6.0.0
Version 6 includes the following changes. (For more background information refer to the Version 6 Roadmap wiki page.) At a high-level the purpose of this release is to improve customization and flexibility with regard to arrow-key event handling.
Grid
to remove arrow-key scroll-snapping. Instead this feature is implemented in a HOC, ArrowKeyStepper
. The upgrade path from React 5.x to 6.x if you want to maintain arrow-key navigation behavior is as follows:// Before...
<Grid {...gridProps}/>
// After...
<ArrowKeyStepper
columnsCount={columnsCount}
rowsCount={rowsCount}
>
{({ onSectionRendered, scrollToColumn, scrollToRow }) => (
<Grid
columnsCount={columnsCount}
onSectionRendered={onSectionRendered}
rowsCount={rowsCount}
scrollToColumn={scrollToColumn}
scrollToRow={scrollToRow}
{...otherGridProps}
/>
)}
</ArrowKeyStepper>
FlexTable
: scrollToRow
(use scrollToIndex
prop instead), setScrollTop
(use scrollTop
prop instead)Grid
: scrollToCell
(use scrollToColumn
and scrollToRow
props instead), setScrollPosition
(use scrollLeft
and scrollTop
props instead)VirtualScroll
: scrollToRow
(use scrollToIndex
prop instead), setScrollTop
(use scrollTop
prop instead)react-pure-render
with shallowCompare
.Changelog
5.5.6
Max scroll position logic in Grid
now takes scrollbar size into consideration.
Also includes a small render
optimization for null cells.
This release made possible by @jquense!
Changelog
5.5.5
Updated package.json
to support React ^0.14.0
as well as ^15.0.0-rc.1
.
Thanks to @opichals for the PR.