lbry-desktop/ui/redux
infinite-persistence c71b90cecf
Fix linked-comment scrolling
I think this the best solution so far, at the expense of a slight delay in scrolling if the network call stalls.

- Added "fetching by ID" state so that we don't need to use the ugly N-retries method.
- `scrollIntoView` doesn't work if the element is already in the viewport, and the `scrollBy` adjustment doesn't take into account the y-position restoration that we perform on certain type of pages. Use `window.scrollTo` instead and taking into account current scroll position.
2021-10-01 15:51:05 +08:00
..
actions Fix linked-comment scrolling 2021-10-01 15:51:05 +08:00
reducers Fix linked-comment scrolling 2021-10-01 15:51:05 +08:00
selectors Fix linked-comment scrolling 2021-10-01 15:51:05 +08:00