Skip to content

Releases: mfuu/react-virtual-sortable

v1.1.4

11 Jun 06:41

Choose a tag to compare

Changes

  • feat: added callback function onScroll
    const onScroll = (event) => {
      event.top // scrolled to the top of the list
      event.bottom // scrolled to the bottom of the list
      event.offset // scroll offset
      event.direction // scroll direction
    }
  • chore: update sortable-dnd dependence
  • chore: export type from types.d.ts
  • fix: react warning "each child in a list should have a unique key prop"

v1.1.2

06 Feb 16:10

Choose a tag to compare

Changes

  • fix: render error when list change

v1.1.1

01 Feb 07:14

Choose a tag to compare

Changes

  • fix: buffer as prop to fix render error, docs here

v1.1.0

14 Dec 08:23

Choose a tag to compare

Changes

  • feat: support smart scrollTo
  • feat: added prop dropOnAnimationEnd
  • props updated: fallbackOnBody renamed to appendToBody

v1.0.3

21 Jun 09:17

Choose a tag to compare

Changes

  • fix: looping error

v1.0.2

16 Jun 14:29

Choose a tag to compare

Changes

  • fix: error when dataKey value is 0

v1.0.1

03 Jun 12:40

Choose a tag to compare

Changes

  • Fix: handle does not take effect when the selected element is inside the handle element

v1.0.0

13 Apr 12:33

Choose a tag to compare

Changes

  • react-virtual-drag-list now renamed to react-virtual-sortable

    I'm sorry for the inconvenience caused by the name change,
    but the new name may be more in line with the functionality of the component itself.

  • Deleted prop itemClass
  • Adjust the default value with draggable: '[role="item"]'
  • Update dependencies