Clicking a new tag doesn't always navigate to it #2848

Closed
opened 2019-09-04 16:50:38 +02:00 by jessopb · 0 comments
jessopb commented 2019-09-04 16:50:38 +02:00 (Migrated from github.com)

Found while looking into #2669
Repro:
Go to Home, click a tag to view trending for that tag. Scroll down to load the next page. Click a different tag.

Instead of loading trending for that tag, it loads the next page for the current tag.
After initial navigation to the new tags? view, It looks like onScrollBottom is being called for the old data in a useEffect navigating to the next page in the old tags? view.

Found while looking into #2669 Repro: Go to Home, click a tag to view trending for that tag. Scroll down to load the next page. Click a different tag. Instead of loading trending for that tag, it loads the next page for the current tag. After initial navigation to the new tags? view, It looks like onScrollBottom is being called for the old data in a useEffect navigating to the next page in the old tags? view.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#2848
No description provided.