Name Picker Malfunction

npm

Need private packages and team management tools?Check out npm Orgs. »

@adobe/react-virtualized

9.22.10 • Public • Published

Adobe Plugin Toolkit optimized fork of react-virtualized

This fork contains fixes and tuning to enhance performance on UXP based platforms.

Migration to this fork from react-virtualized

This fork is completely API compatible with the main repository of react-virtualized

Just follow these steps

  • run yarn remove react-virtualized
  • run yarn add @adobe/react-virtualized
  • change your require("react-virtualized") expressions to require("@adobe/react-virtualized")
  • make sure you use thekey parameter provided to your rowRenderer/cellRenderer function for each row/cell
  • because of dom recycling cell components are mounted only once so clean cells in componentWillUpdate and/or componentDidUpdate before resuing them
  • dom recycling also results in different visual & dom order but you can use dataOrder parameter to set as a custom attribute on cells and use it to reterieve the visual order

Changes

Mac and iOS not rendering top rows during scroll bounce.

When scrolling up quickly to the top of a list on a platform with bounce sometimes the top rows would not render for a few seconds while the bounce animation completed.

We fixed the problem by treating negative scroll values the same as zero when rendering.

Performance optimization to reuse row elements

This changes the key generating algorithm to reuse keys in a rotating fashion in order to minimize expensive createElement calls when new rows come into the viewport.

NOTE: Reusing elements will cause transient state like focus or input field values not controlled by react state to persist and appear in different rows. If your rows contain focusable input fields then you will want to use your own key values for each list item instead of the rotating keys provided by this fork.

install

npm i @adobe/react-virtualized

Downloadsweekly downloads

19

version

9.22.10

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability