FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
12.65k stars 779 forks source link

[Bug]: Duplicates when click spam loading elements in FT #3541

Open efb4f5ff-1298-471a-8973-3d47447115dc opened 1 year ago

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

Guidelines

Describe the bug

Only thing u need to do to reproduce is clicking very fast on the element

Following videos are recorded on all the channel tabs of the channel page

https://github.com/FreeTubeApp/FreeTube/assets/73130443/a3b350b7-f2cb-4b44-9d3f-c45bef1d6017

https://github.com/FreeTubeApp/FreeTube/assets/73130443/3f7686d0-eff6-4f62-ab81-a24dff0cf485

https://github.com/FreeTubeApp/FreeTube/assets/73130443/5adc3fc2-c03c-40db-ac46-b359f0cb61bf

https://github.com/FreeTubeApp/FreeTube/assets/73130443/8e2ea4f4-2b87-4c89-94d5-fe59f7ef361e

Following 2 videos are recorded in the comment section

https://github.com/FreeTubeApp/FreeTube/assets/73130443/495263e5-0475-49e1-97cb-9879b72fcbb3

https://github.com/FreeTubeApp/FreeTube/assets/73130443/04f451d1-b99a-4738-918e-166da426a27c

Following video is recorded on the search page

https://github.com/FreeTubeApp/FreeTube/assets/73130443/c15601ba-0aa8-421c-b1b6-a72f73b994f2

Expected Behavior

  1. No duplicate videos on all the channel tabs when i click very fast on the load more button
  2. No duplicate comments when i click very fast on the load more comment/replies button
  3. No duplicate videos when i click very fast on the load more button on the search page

Issue Labels

inconsistent behavior, visual bug

FreeTube Version

https://github.com/FreeTubeApp/FreeTube/commit/a4d45b5fa8a8a1726808c9eebe307643f8dde9c9

Operating System Version

Win10 22H2

Installation Method

.exe

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.