Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
4.97k stars 144 forks source link

[Bug]: Smooth scrolling broken on some websites #1235

Closed UltraBlackLinux closed 1 week ago

UltraBlackLinux commented 1 week ago

Pre-Submission Checklist

Bug Summary

The smooth scrolling behaviour within floorp is broken. It appears that it's not just a visual effect but it's actually sending a ton of scroll events for the animation, which breaks on some websites like discord (I've also seen this happen on a news outlet's website)

Reproduction Steps

  1. Open discord
  2. Scroll up

Expected Behavior

it should stay where it is, like with smooth scrolling disabled

Actual Behavior

discord jumps around weirdly and resets the scroll progress partially

Screenshots

Mostly single scrolling steps:

https://github.com/Floorp-Projects/Floorp/assets/62404294/5073b432-7642-4b33-8ac2-76124eee2a5a

Browser Version

11.14.1

Operating System

Arch Linux

Additional Context

(I'd also really like to know why the scrolling steps for non-smoothed scrolling are this ginormous. non-smoothed scrolling is so disorienting, and it's not been like this forever I'm pretty sure)

surapunoyousei commented 1 week ago

Is it wayland?

UltraBlackLinux commented 1 week ago

yes, should have mentioned that.

surapunoyousei commented 1 week ago

Current version is not support Wayland. Wait for Floorp 12

UltraBlackLinux commented 1 week ago

Ok will do, thanks for the info :)