Skip to content

Releases: mfuu/vue-virtual-drag-list

v2.8.5

16 Mar 03:56
Compare
Choose a tag to compare

Changes

  • The following props will be removed from the current version onwards:
    headerTag
    footerTag
    headerStyle
    footerStyle

    The header and footer slots are still retained, now are fully customizable. Please adjust it by yourself.

  • Added props:

    lockAxis: 'x' | 'y', // Axis on which dragging will be locked
  • The types of these props have changed:

    scroller: Document | HTMLElement, // Window not supported now

v2.8.4

28 Feb 13:40
Compare
Choose a tag to compare

Changes

  • fix add item off screen from nothing will show blank until item size greater than keep size issue. by @imvenj in #31
  • fix render error by @mfuu in #33

v2.8.3

06 Jan 07:38
Compare
Choose a tag to compare

Changes

  • fixed bug #29
  • try to solve the typeError #27

v2.8.1

22 Dec 12:38
Compare
Choose a tag to compare

Changes

PRs

  • add two style props + add DIRECTION.STATIONARY when scroll from other axis by @m4m205 in #21
  • clone support, bug fixed by @mfuu in #28

Update

  • support clone mode, usage: group: { pull: 'clone' }

  • props changed

    • delay => debounceTime, throttleTime
    • pressDelay => delay
    • pressDelayOnTouchOnly => delayOnTouchOnly
  • props deleted

    • pageMode: now replaced by scroller: window or scroller: document
  • props added

    • scroller: Virtual list scrolling element
    • debounceTime: debounce time on scroll
    • throttleTime: throttle time on scroll
  • emit added

    • scrollToKey(key): Scroll to the specified data-key position
  • adjusted the callback function's params

v2.7.4

02 Jul 11:48
Compare
Choose a tag to compare

Changes

v2.7.3

18 May 16:29
Compare
Choose a tag to compare

Changes

  • Add props: fallbackOnBody, pressDelay, pressDelayOnTouchOnly, details in doc

v2.7.2

12 May 14:51
Compare
Choose a tag to compare

Changes

  • Fix touch error
  • Allow to scroll in any scroller

v2.7.1

21 Apr 11:27
Compare
Choose a tag to compare

Changes

  • fix: rendering error on scroll load

  • group support, now you can drag-drop an item between different lists. #9 (comment)

  • Add some usefull props

    • handle: Only drags can be made on the element specified by handle.
    • group: Set group value to allow drag between different lists.
  • It should be noted that some emit's name changed, get all parameters by destructuring:

    • ondragstart => drag
    • ondragend => drop
    • totop => top
    • tobottom => bottom
  • added emits:

    • add: Will be triggered when dragging from another list to the current.
    • remove: Will be triggered when dragging from the current list into another.
  • prop usage changes

    • draggable: It is only supported to set dragged elements, you do not need to set this property, the list can also be dragged.

v2.6.17

26 Feb 09:48
Compare
Choose a tag to compare

Full Changelog: v2.6.15...v2.6.17

v2.6.15

14 Jun 06:47
Compare
Choose a tag to compare
  • Fix bug that the list is empty when the data is re-rendered after the data is cleared