Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-virtualized

Package Overview
Dependencies
Maintainers
3
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtualized - npm Package Versions

1
30

5.0.0

Diff

Changelog

Source

5.0.0

Version 5 includes the following changes. (For more background information refer to the Version 5 Roadmap wiki page.) At a high-level the purpose of this release is to make HOCs more easily composible in order to support a wider variety of them in the future. A secondary goal was to cut redundant code from VirtualScroll and rely more heavily on the base Grid component.

Backwards-incompatible changes
  • Refactored FlexTable and VirtualScroll to be HOCs that use Grid internally. This change makes width a required attribute for all virtualized components. A simple upgrade strategy is to use the AutoSizer HOC (learn more here).
  • Changed globally exported library name (for use with vanilla <script> tags) to window.ReactVirtualized instead of window["react-virtualized"] (see issue #86).
  • Removed horizontalPadding and verticalPadding properties from FlexTable. These properties were redundant. Such padding should be the responsibility of the parent container and taken into consideration by the injected width and height.
  • Refactored InfiniteLoader and AutoSizer to require function children so as to be more easily composable with each other and new HOCs like ScrollSync (learn more here).
  • AutoSizer no longer supports a className property or uses the global 'AutoSizer' class.
Backwards-compatible changes
  • Added ES6 module and jsnext:main target to enable tree-shaking support.
  • Updated onScroll property to specific total scrollable area so that offsets can be converted into percentages if desired (learn more here).
  • Replaced top / left cell positioning with transform: translate() for small performance gains. (This may become configurable in the future if any negative impact on performance is noticed.)
  • Created ScrollSync HOC for synchronizing scrolling between two or more virtualized components (learn more here).
brianvaughn
published 4.10.0 •

Changelog

Source

4.10.0

FlexTable and VirtualScroll get a new property, overscanRowsCount. Grid gets overscanRowsCount and overscanColumnsCount. These properties can be used to reduce visual flicker around the sides of virtualized components when quickly scrolling. overscanRowsCount defaults to 10 and overscanColumnsCount defaults to 0; adjust as necessary based on the size of your lists and cells.

FlexTable sets a default value of 0 for headerHeight to more gracefully support disableHeader use case.

brianvaughn
published 4.9.0 •

Changelog

Source

4.9.0

AutoSizer component now takes padding into consideration before setting the width and height of its children.

brianvaughn
published 4.8.1 •

Changelog

Source

4.8.1

Updated InfiniteLoader to better reflect required properties. (isRowLoaded, rowsCount, and threshold were not marked as required before.)

brianvaughn
published 4.8.0 •

Changelog

Source

4.8.0

Updated InfiniteLoader to support being composable within an AutoSizer HOC. If either a width or height attribute are specified on InfiniteLoader they will be bundled through to the loader's child component.

brianvaughn
published 4.7.1 •

Changelog

Source

4.7.1

Fixed AutoSizer bug that caused it to prevent parent flex containers from shrinking in some contexts.

brianvaughn
published 4.7.0 •

Changelog

Source

4.7.0

Added scrollToIndex property to FlexTable to be passed through to inner Grid.

brianvaughn
published 4.6.6 •

Changelog

Source

4.6.6

Better guard against NaN values for clientWidth and offsetWidth for test environments using jsdom.

brianvaughn
published 4.6.5 •

Changelog

Source

4.6.5

Added react-dom to the Webpack :externals node to avoid including it in the build. This fixes the bad 4.6.3 and 4.6.4 builds. Sorry!

brianvaughn
published 4.6.4 •

Changelog

Source

4.6.4

Moved react-dom from dependencies to peerDependencies to fix bad 4.6.3 build.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc