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

23
9

2.2.4

Diff

Changelog

Source

2.2.4 June 9, 2024

  • update modules
  • raise z-index for dragBar to 3000
henrikbechmann
published 2.2.3 •

Changelog

Source

2.2.3 June 9, 2024

  • bug fix (required with latest React)
henrikbechmann
published 2.2.2 •

Changelog

Source

2.2.2 November 12, 2023

  • Additions to documentation regarding the scroller profile property
  • Addition of scrollerProfile to DragDropTransferCallback context parameter
henrikbechmann
published 2.2.1 •

Changelog

Source

2.2.1 November 5, 2023

enhanced data return with nativeTypeCallback. Now includes whitespaceposition ('head' or 'tail') and listrange.

henrikbechmann
published 2.2.0 •

Changelog

Source

2.2.0 November 4, 2023

  • support for native drag and drop types onto scrollers: files, urls, and text
  • new scroller dndOptions.nativeTypeCallback property - a host provided function to return the result of native type drag and drop
henrikbechmann
published 2.1.0 •

Changelog

Source

2.1.0 November 3, 2023

New layout property option

  • new layout property type 'static' which allows insertion of staticComponent, and ignores all other properties, other than scroller dndOptions
  • new staticComponent property which allows insertion of a static component layer. Ignored unless layout is set to static

These changes allow the RIGS root level to have an arbitrary layout. Specifically the inserted component allows for more than one top-level scroller, with drag and drop between them.

New scroller dndOptions property

  • dndOptions.showScrollTabs (default true)

DndScrollTabs can now be suppressed by setting the showScrollTabs scroller dndOptions property to false

henrikbechmann
published 2.0.0 •

Changelog

Source

2.0.0 October 26, 2023

Added:

  • intra-list and inter-list drag and drop capability
  • scroller dndOptions property, containing accept list of content types
  • scroller host-defined profile property to help with response to certain functions
  • host provided getDropEffect function (for RigsDnd higher order component only) which provides the host the opportunity to constrain the drop effect on scrollers, based on sourceScrollerID, targetScrollerID, and context data.
  • host-provided dragDropTransferCallback function to notify host of completed drag and drop operations
  • getItemPack (replaces getItem). The return object of getItemPack from the host includes the host-defined component function, and a data profile object with host-defined properties; for dnd, it includes a cell dndOptions object with dragText and type

Renamed:

  • scrollerProperties renamed to scrollerContext
  • scrollerContext properties renamed from cellFramePropertiesRef to cell, and from scrollerPropertiesRef to scroller. Both follow the react ref pattern, with data held in the current property

Removed:

  • GetItem. Use GetItemPack
  • remapIndexes was removed as a service function, as dead weight
  • startingListSize. Use startingListRange
  • setListSize. Use setListRange
  • changeListSizeCallback. Use changeListRangeCallback

Changed:

  • All API functions with return values have had the shape of those return values changed. Notably all return values now include a context object, which contains a contextType name, a scrollerID number, and sometimes more.
henrikbechmann
published 1.4.2 •

Changelog

Source

1.4.2 August 24, 2023

fix debug error

henrikbechmann
published 1.4.1 •

Changelog

Source

1.4.1 August 24, 2023

Fix regression re programmatic scrolling

henrikbechmann
published 1.4.0 •

Changelog

Source

1.4.0 August 23, 2023

This version deals with virtual list boundaries - SOL (start-of-list) & EOL (end-of-list)

A new callback function is recognized:

  • boundaryCallback(position:string,index:number):void provided by the host is called whenever a SOL or EOL index is loaded into the Cradle. position = "SOL" | "EOL", index being the start or end index.

A new property has been added:

  • getExpansionCount(position, index):integer is a function optionally provided by the host. If provided, it is called whenever a SOL or EOL index is loaded into the Cradle with position = "SOL" | "EOL" and index being the start or end index. The function is expected to return the number (>=0) of indexes to add to the virtual list at the noted start or end.
23
9
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