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

bug: Scroll bounce sometimes does not work #341

Open
algj opened this issue Jan 27, 2025 · 0 comments
Open

bug: Scroll bounce sometimes does not work #341

algj opened this issue Jan 27, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@algj
Copy link

algj commented Jan 27, 2025

What happened?

In Firefox, when scrolling to the top/bottom of any scrollable area (chat, server list, textareas, etc.), you can’t scroll past the edge to get the bounce effect. It just stops dead. Works fine in other webpages, so probably a Revolt-specific issue.

Reproduce:

  1. Scroll to the bottom of any scrollable area with a trackpad, you'll see a bounce effect when you reach the bottom
  2. When you're at the bottom, try scrolling again - no bounce, pretty much locked at the bottom
  3. While holding your fingers on the trackpad after scrolling down, try scrolling up - still locked, can't scroll up even if there is content above, must release your fingers from trackpad and scroll again

Expected:
Be able to scroll up if you accidentally scroll a tiny bit down and try to scroll up. We want to see feedback that we're indeed reaching the end of the scrollable area by having a scroll bounce/inertia effect.

Notes:
Might be related to react-virtuoso or custom scroll handling? I saw react-virtuoso is being loaded in dev menu.

@algj algj added the bug Something isn't working label Jan 27, 2025
@github-project-automation github-project-automation bot moved this to 🆕 Untriaged in Revolt Project Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 Untriaged
Development

No branches or pull requests

1 participant