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

fix(twitch): experiment category scroll #980

Merged

Conversation

pimothyxd
Copy link
Contributor

Scrolling through the streams inside of a specific category can lock up after initial page load / while scrolling down.

This issue seems to happen because the AvatarsModule patches and re-renders the avatars after updating their properties. However, it seems like during re-rendering it grabs a virtual node holding the cards where you actually scroll through. Updating that container (instead of it's parent holding it's ref) will cause simplebar to break and delete containers.

7tv_experiment_scroll_non_functional.mp4

which should now work like this:

7tv_experiment_scroll_functional.mp4

Should fix: #635

@CLAassistant
Copy link

CLAassistant commented Jan 24, 2024

CLA assistant check
All committers have signed the CLA.

@TroyKomodo TroyKomodo changed the base branch from master to feat/bug-fixes February 17, 2024 01:12
@TroyKomodo TroyKomodo merged commit 382c9ef into SevenTV:feat/bug-fixes Feb 17, 2024
2 checks passed
@pimothyxd pimothyxd deleted the fix/experiment-category-scroll branch March 10, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Scrolling issue with new experimental Twitch channel category view
3 participants