FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Bug]: Livechat scrolling down doenst hide button

Open efb4f5ff-1298-471a-8973-3d47447115dc opened this issue 2 years ago • 17 comments

Guidelines

  • [X] I have encountered this bug in the latest release of FreeTube.
  • [X] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • [X] I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • [X] This issue contains only one bug.

Describe the bug

  1. Go to any video with a live chat
  2. Scroll up in the chat
  3. Scroll down in the chat
  4. See that the blue button doesn't disappear and that u still have to scroll down to keep up with recent chats

https://user-images.githubusercontent.com/73130443/217068248-568cf15b-98de-47c7-96f1-339c928540dc.mp4

Expected Behavior

Button should go away and chat should automatically scroll down again. See YT chat for reference.

Issue Labels

visual bug

FreeTube Version

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

Operating System Version

Windows 10 22H2

Installation Method

.exe

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

Is this fixed already? I can't reproduce it in dev build

predystopic-dev avatar Feb 17 '23 05:02 predystopic-dev

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] avatar Mar 18 '23 01:03 github-actions[bot]

Hi @predystopic-dev sorry for the delayed response. I can still replicate this on my end.

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] avatar Apr 16 '23 01:04 github-actions[bot]

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] avatar May 15 '23 01:05 github-actions[bot]

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] avatar Jun 13 '23 01:06 github-actions[bot]

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] avatar Jul 12 '23 02:07 github-actions[bot]

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] avatar Aug 10 '23 01:08 github-actions[bot]

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] avatar Sep 08 '23 01:09 github-actions[bot]

I can specifically replicate this by pressing the scrollbar in the UI, but not by scrolling with my mouse.

kommunarr avatar Sep 08 '23 03:09 kommunarr

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] avatar Oct 07 '23 01:10 github-actions[bot]

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] avatar Nov 05 '23 01:11 github-actions[bot]

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] avatar Dec 04 '23 01:12 github-actions[bot]

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] avatar Jan 04 '24 01:01 github-actions[bot]

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] avatar Feb 02 '24 01:02 github-actions[bot]

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] avatar Mar 02 '24 01:03 github-actions[bot]

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] avatar Mar 31 '24 01:03 github-actions[bot]

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] avatar Apr 29 '24 01:04 github-actions[bot]

My analysis from re-discovering this myself:

This does not occur with slow scrolling down. It might have something to do with "momentum" of a faster scroll propelling it to the bottom that's not getting caught by the onscroll event handler (onScroll in watch-video-live-chat.js). I can tell that this is the likely issue because it's not happening when I put that handler logic in a setTimeout with a 100ms delay. That would technically work, but I would like to see if there's a less hacky fix.

kommunarr avatar Jun 21 '24 13:06 kommunarr