Skip to content

fix(twitch): experiment category scroll#980

Merged
TroyKomodo merged 5 commits into
SevenTV:feat/bug-fixesfrom
pimothyxd:fix/experiment-category-scroll
Feb 17, 2024
Merged

fix(twitch): experiment category scroll#980
TroyKomodo merged 5 commits into
SevenTV:feat/bug-fixesfrom
pimothyxd:fix/experiment-category-scroll

Conversation

@pimothyxd
Copy link
Copy Markdown
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
Copy Markdown

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
@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