telerik / kendo-react

Issue tracker - KendoReact http://www.telerik.com/kendo-react-ui/
https://kendo-react-teal.vercel.app
Other
212 stars 39 forks source link

Scrolling breaks when setting a lower total count in the MultiSelect #1320

Open filipKovachev opened 2 years ago

filipKovachev commented 2 years ago

Changing the total from 5000 to 25 leads to the scroll not working correctly. Steps to reproduce: open the MultiSelect and scroll down. Close the component and then open it again. Notice that the dropdown is empty and there is a scrolling issue. This behavior does not occur when setting the total to 5000.

This can be reproduced here: https://stackblitz.com/edit/react-wrpres-36mey7?file=app/main.jsx

Ticket ID: 1566545

kdikov82 commented 1 year ago

As a temporary solution the virtual scrolling should be disabled when the number of items is low.