Skip to content

Scroll acceleration logic causes scrolling to "jump" suddenly on MacOS #5067

Closed
@dweymouth

Description

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

The Fyne scroll accelerate logic - where scrolling above a certain input speed has a multiplicative factor applied to it to create an accelerated scrolling rate, causes poor UX with scrolling where it suddenly "jumps" to a faster scroll rate leading to a perception of "unsmoothness".

See github.com/dweymouth/supersonic/issues/418

A potential solution would be to apply a smooth function to gradually increase effective scroll rate based on input scroll rate, or disable the scroll accelerate logic for MacOS if the OS already handles it at the driver level.

How to reproduce

Run fyne demo - scroll the grid wrap at varying speeds

Screenshots

No response

Example code

fyne demo

Fyne version

develop

Go compiler version

n/a

Operating system and version

MacOS

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    OS:macOSTickets affecting only macOS

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions