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

no scroll in windows app #29

Open
Mohammad-Adam opened this issue Oct 23, 2022 · 2 comments
Open

no scroll in windows app #29

Mohammad-Adam opened this issue Oct 23, 2022 · 2 comments

Comments

@Mohammad-Adam
Copy link

Hey,
the TransformerPageView is working normally in android but no scroll in windows !

@Mohammad-Adam
Copy link
Author

Mohammad-Adam commented Oct 25, 2022

solved by editing the package to allow providing of custom ScrollBehavior to the PageView.builder:

TransformerPageView(
      scrollBehavior: MyCustomScrollBehavior(),
      .......
)
class MyCustomScrollBehavior extends MaterialScrollBehavior {
  @override
  Set<dd.PointerDeviceKind> get dragDevices => {
    dd.PointerDeviceKind.touch,
    dd.PointerDeviceKind.mouse,
  };
}

Default drag scrolling devices
please allow it by default

@getBoolean
Copy link

getBoolean commented Dec 16, 2023

That is WAI by the Flutter team, Windows users do not expect to be able to drag the screen with the mouse.

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

No branches or pull requests

2 participants