This repository was archived by the owner on Jan 1, 2026. It is now read-only.
chore(deps): update dependency react-virtualized-auto-sizer to v2 #830
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.0.26→^2.0.1Release Notes
bvaughn/react-virtualized-auto-sizer (react-virtualized-auto-sizer)
v2.0.1Compare Source
renderPropandChildComponentprops.v2.0.0Compare Source
Version 2 simplifies the API and improves TypeScript support.
Migrating from 1.x to 2.x
Refer to the docs for a complete list of props and API methods. Below are some examples of migrating from version 1 to 2, but first a couple of potential questions:
defaultHeightanddefaultWidthprops removed?disableHeightanddisableWidthprops removed?doNotBailOutOnEmptyChildrenprop removed?AutoSizersupport CSS transitions/animations?ResizeObserver, there is no event dispatched when a CSS transition is complete (see issue #99). As a potential workaround, theboxproperty can be used to report unscaled size; see below for examples.Basic usage
Default width/height for server rendered content
Width only (or height only)
1.0.26
widthandheightvalues to be based omgetBoundingClientRectrather thanoffsetWidthandoffsetHeight(which are integers and can cause rounding/flickering problems in some cases).1.0.25
1.0.24
doNotBailOutOnEmptyChildrenprop toAutoSizerto override default behavior of not rendering children when either width or height are 01.0.23
1.0.22
1.0.21
AutoSizerreturn type changed fromReactElementtoReactNode1.0.20
setTimeoutwhen usingResizeObserver)1.0.19
anytypes forchildrenfunction parameters.1.0.18
disableHeightanddisableWidthare properly paired with conditional types likechildrenandonResize.1.0.17
1.0.16
childrenprop return type fromReactElementtoReactNode.1.0.15
1.0.14
1.0.13
1.0.12
scaledHeightandscaledWidthparams tochildrenfunction)ResizeObserverwhen possible; fallback to legacy resize polyfill logic otherwise1.0.11
defaultProps) (#46)onResizeprop (#44)1.0.10
AutoSizeras well asPropsandSizetypes.1.0.9
tagNameproperty (default to"div").1.0.8
offsetHeight/offsetWidthwithgetBoundingClientRectto better support floating size valuesHTMLDivElement1.0.7
"react"/"react-dom"version 181.0.6
1.0.5
"react"/"react-dom"version 171.0.4
innerHTMLwhen detecting element resize as this will throw an error if the page uses Trusted Types (#30)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.