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.
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