Bump react-window from 1.8.11 to 2.2.1
Type: Pull Request
State: Closed
Association: Unknown
Comments: 3
(8 months ago)
(8 months ago)
(8 months ago)
Bumps react-window from 1.8.11 to 2.2.1.
Release notes
Sourced from react-window's releases.
2.2.1
- Fix possible scroll-jump scenario with
useDynamicRowHeight2.2.0
- Support for dynamic row heights via new
useDynamicRowHeighthook.const rowHeight = useDynamicRowHeight({ defaultRowHeight: 50 });return <List rowHeight={rowHeight} {...rest} />;
- Smaller NPM bundle; (docs are no longer included as part of the bundle due to the added size)
Documentation at: https://react-window-9gegorjnr-brian-vaughns-projects.vercel.app/
2.1.2
Prevent
ResizeObserverAPI from being called at all if an explicitListheight (orGridwidth and height) is provided.Thanks to
@tnajdekfor the PR!
Documentation at: https://react-window-8cygyvomv-brian-vaughns-projects.vercel.app/
2.1.1
Grids with only one row no longer incorrectly set cell height to 100%.
Documentation at: https://react-window-8cygyvomv-brian-vaughns-projects.vercel.app/
2.1.0
Improved ARIA support:
- Add better default ARIA attributes for outer
HTMLDivElement- Add optional
ariaAttributesprop to row and cell renderers to simplify better ARIA attributes for user-rendered cells- Remove intermediate
HTMLDivElementfromListandGrid
- This may enable more/better custom CSS styling
- This may also enable adding an optional
childrenprop toListandGridfor e.g. overlays/tooltips- Add optional
tagNameprop; defaults to"div"but can be changed to e.g."ul"// Example of how to use new `ariaAttributes` prop function RowComponent({ ariaAttributes, </tr></table>
... (truncated)
Changelog
Sourced from react-window's changelog.
2.2.1
- Fix possible scroll-jump scenario with
useDynamicRowHeight2.2.0
- Support for dynamic row heights via new
useDynamicRowHeighthook.const rowHeight = useDynamicRowHeight({ defaultRowHeight: 50 });return <List rowHeight={rowHeight} {...rest} />;
- Smaller NPM bundle; (docs are no longer included as part of the bundle due to the added size)
2.1.2
Prevent
ResizeObserverAPI from being called at all if an explicitListheight (orGridwidth and height) is provided.2.1.1
Grids with only one row no longer incorrectly set cell height to 100%.
2.1.0
Improved ARIA support:
- Add better default ARIA attributes for outer
HTMLDivElement- Add optional
ariaAttributesprop to row and cell renderers to simplify better ARIA attributes for user-rendered cells- Remove intermediate
HTMLDivElementfromListandGrid
- This may enable more/better custom CSS styling
- This may also enable adding an optional
childrenprop toListandGridfor e.g. overlays/tooltips- Add optional
tagNameprop; defaults to"div"but can be changed to e.g."ul"// Example of how to use new `ariaAttributes` prop function RowComponent({ ariaAttributes, index, style, ...rest }: RowComponentProps<object>) { return ( <div style={style} {...ariaAttributes}> ... </div> ); </tr></table>
... (truncated)
Commits
881ddbc2.2.0 -> 2.2.18db16d6Fix potential scroll jumping when using dynamic row heights (#868)f3a5aa7Add debug utils for logging colorful stringsef27031Version page tweaks1898945Add more previous version links6e28178Add links to past version docs4d71210Relax List rowHeight constraint (alt) (#857)1220d5cRemove docs from NPM bundle; they're pretty large (#858)5992e1dImprove mock ResizeObserver test utils71df53dUpdate image example to set width=100%- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 10479399 |
| UUID: | 3509270163 |
| Node ID: | PR_kwDOPveXi86ta92l |
| Host: | GitHub |
| Repository: | codeharborhub/tutorial |