lbry-desktop/ui/component/claimList
infinite-persistence 3bba4ab630
Fix infinite scroll when "Upcoming livestream" appears (#665)
## Issue
When "Upcoming livestream" appears in a list, infinite scroll stops working.

## Cause
The difference between `mainEl.getBoundingClientRect().bottom` and `window.innerHeight` became slightly greater than 0.5, so it was deemed as "haven't reached the bottom".

## Change
Coincidently, I've been wanting to make the inf scroll load earlier (instead of after reaching the absolute bottom) to make the experience smoother, so added a 200px threshold, which is roughly the height of a tile. This gets us the new behavior while also fixes the original problem.
2022-01-11 08:26:44 -05:00
..
index.js Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
view.jsx Fix infinite scroll when "Upcoming livestream" appears (#665) 2022-01-11 08:26:44 -05:00