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

feat: add trackpad support and optimizations #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Kingtous
Copy link

@Kingtous Kingtous commented Sep 19, 2022

This PR brings:

  • fix: scroll becomes slow when scroll quickly (scroll multiple times in seconds).
  • feat: add trackpad support. currently trackpad not working when use custom scroll.

BREAKING CHANGES:

since flutter have upgraded to 3.3, which moves events for trackpad from emulated gesture event to its own scroll event. This new logic to fits the latest version of flutter stable, and provided a fix to support trackpad on flutter 3.3+.

After merge this, flutter which version <3.3 cannot successfully compile this pub because it uses the latest interfaces added by flutter 3.3.

fix: prevent _lastScrollDestPos outdate after resize window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant