telerik / kendo-vue

Issue tracker - Kendo UI for Vue http://www.telerik.com/kendo-vue-ui/
Other
63 stars 28 forks source link

In specific scenarios the DropDownlistPageChangeEvent returns NaN for its skip property #388

Closed PekoPPT closed 5 months ago

PekoPPT commented 1 year ago

Describe the bug When using the DropDownList component with both filtering and virtualization in specific scenarios, the list will show no items after a series of actions done with the component.

To Reproduce

  1. Open this StackBlitz example
  2. Open the DropDownList
  3. Type 33333 into the filter
  4. See the 'No data found' result
  5. Quickly remove the last two 3's. Now you're only filtering by 333
  6. Quickly scroll down
  7. Quickly scroll up
  8. See 'No data found' appears and the skip value is NaN in the console

Expected behavior The 'No data found' result shouldn't appear in the above scenario and the value of "skip" should not be NaN.

filipKovachev commented 6 months ago

This also occurs in our official demo here: https://stackblitz.com/edit/av3cce-hqtqvu?file=src%2Fmain.vue

Steps to reproduce: 1) search for something that does not exist

2) Delete the searched item and leave the search edit box empty

3) Mouse scroll the list down some rows/pages and then up

4) Notice how everything is stuck on loading and skip is NaN

Ticket ID: 1643916

zdravkov commented 5 months ago

Fixed in version 4.3.2 of Kendo UI for Vue - https://stackblitz.com/edit/av3cce-grwj1r?file=src%2Fmain.vue