Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger infinite scroll on youtube home page #389

Open
nsrCodes opened this issue Jun 4, 2022 · 3 comments
Open

Trigger infinite scroll on youtube home page #389

nsrCodes opened this issue Jun 4, 2022 · 3 comments

Comments

@nsrCodes
Copy link
Contributor

nsrCodes commented Jun 4, 2022

While navigating through the youtube home page, we can only navigate the initially loaded results.
The home page has infinite scroll and since the current navigation method does not actually scroll to the end of the page (even when we reach the last available result), new result are not currently loaded

One solution could be to try to align the highlighted result at a particular level. I think could be done by implementing something similar to #360

Bug Demo: (Just like #360, a quick fix is to scroll down a little bit)

youtube-infinite-scroll-navigation.mp4
@infokiller
Copy link
Owner

Thanks, confirmed

@nsrCodes
Copy link
Contributor Author

@infokiller were there any efforts made on any branch to implement scroll_lookahead as mentioned here - #35 (comment)

This could be solved by setting a lookahead size of 1 and instead of looking ahead just the result (in case of normal navigation) we could look ahead a complete row of results (for a grid navigation in case of youtube here)

And it makes sense to add another enum here (if in any case this has to be an optional behavior) and scroll_lookahead = 1 * itemsPerRow should do

Does this sound like a good approach to fix this?

@infokiller
Copy link
Owner

No efforts made so far. Your approach sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants