Basket list scroll show/hide products breaks when map is moved
Steps to recreate:
- Add 15+ items to a basket
- move a map.
Scroll (transparent div optimization showing and hiding products based on current position of the slider) of the basket
tab breaks and shows a bad number of products. Can be fixed only by deselecting all and adding them to basket again.
Standard adding and removing items from basket (without map move in between) does not trigger this glitch in any way. Also it does not matter how many layers there are configured (1 or more). Clicking Load More (which also changes the number of products in the Search Results
tab does not trigger this glitch too.
This behavior could not be reproduced on the single-layer mode of the client, so the glitch is coming from https://github.com/eoxc/eoxc/blob/master/src/download/views/DownloadSelectionView.js
Additionally following errors are thrown many times:
Uncaught TypeError: Cannot read properties of undefined (reading 'get')
RecordItemView.js:30