Socket
Socket
Sign inDemoInstall

react-infinite-grid-scroller

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-infinite-grid-scroller - npm Package Versions

13
9

1.3.0

Diff

Changelog

Source

1.3.0 August 21, 2023

This version adds flexible padding and gap configuration.

  • padding has been moved from Cradle grid blocks to the Scrollblock.
  • the padding property now accepts an array of integers as well as a standalone integer. Values match standard CSS order. Standalone integer = padding (in pixels) for all of top, right, bottom, left. 1-item array, same as integer. 2-item array = [t/b, r/l]. 3-item array = [t, r/l, b]. 4-item array = [t, r, b, l]
  • the gap property now accepts an array of integers as well as a standalone integer. Values match standard CSS order. Standalone integer = gap (in pixels) for both of column-gap (horizontal) and row-gap (vertical). 1-item array, same as integer. 2-item array = [col, row]
henrikbechmann
published 1.2.0 •

Changelog

Source

1.2.0 August 18, 2023

This version introduces programmatic scrolling.

New API calls:

  • scrollToPixel(pixel:number[,behavior:string])
  • scrollByPixel(pixel:number[,behavior;string])

Internal updates:

  • scroll mechanics for variable content was changed to accomodate scroll API calls.
henrikbechmann
published 1.1.0 •

Changelog

Source

1.1.0 August 13, 2023

This version introduces bi-directional virtual list expansion (or contraction), by allowing negative indexes.

Breaking change:

  • changeListSizeCallback API replaces changeListsizeCallback (note the camel case)

Other changes:

  • new RIGS property startingListRange optionally takes an array of two numbers [lowindex, highindex], being the lowindex and highindex of the virtual list. lowindex must be <= highindex, but both can be positive or negative integers. startingListRange if present supercedes startingListSize. If startingListRange is given an empty array ([]) it creates an empty virtual list
  • setListsize API call is deprecated, replaced by setListSize (note the camel case)
  • new API calls: setListRange, prependIndexCount, appendIndexCount, getPropertiesSnapshot. See documentation
henrikbechmann
published 1.0.5 •

Changelog

Source

1.0.5 May 18, 2023

Internal refactors:

  • promote PortalCache component to top tier
  • introduce experimental capability to share cache among multiple scrollers (this currently has no operational effect)
henrikbechmann
published 1.0.4 •

Changelog

Source

1.0.4 April 22, 2023

Refactor index insert, remove, and move

A couple of corrections to list resize

henrikbechmann
published 1.0.3 •

Changelog

Source

1.0.3 January 6, 2022

Fix regression in CellFrame

henrikbechmann
published 1.0.2 •

Changelog

Source

1.0.2 January 6, 2022

Integrated multiple suggestions from a linter, including one bug fix ("=" s/b "=="). Allow startingListSize of 0.

henrikbechmann
published 1.0.1 •

Changelog

Source

1.0.1 January 5, 2022

Moved two pre-emptive function component error returns in InfiniteGridScroller to location after all hooks. Avoided third pre-emptive return by calling Scrollblock conditionally on listsize > 0.

henrikbechmann
published 1.0.0-a •

Changelog

Source

1.0.0-a January 2, 2022

No change, just updated the version number in the README file.

henrikbechmann
published 1.0.0 •

Changelog

Source

1.0.0 January 2, 2022

No change, just upgraded the utility to production release status

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