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

can't scroll horizontally in example: simple_catalog_app #59

Open
SilvanusP opened this issue Apr 17, 2023 · 1 comment
Open

can't scroll horizontally in example: simple_catalog_app #59

SilvanusP opened this issue Apr 17, 2023 · 1 comment

Comments

@SilvanusP
Copy link

SilvanusP commented Apr 17, 2023

https://github.com/playbook-ui/playbook-flutter/tree/main/examples/simple_example/simple_catalog_app

only in web*

@SilvanusP
Copy link
Author

https://stackoverflow.com/questions/69424933/flutter-pageview-not-swipeable-on-web-desktop-mode

class AppScrollBehavior extends MaterialScrollBehavior {
  @override
  Set<PointerDeviceKind> get dragDevices => {
        PointerDeviceKind.touch,
        PointerDeviceKind.mouse,
        PointerDeviceKind.trackpad,
      };
}
MaterialApp(
      scrollBehavior: AppScrollBehavior(),
      ...
    );

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

1 participant