Closed chriswnewman closed 4 years ago
This PR fixes vertical scrolling issues on mobile.
1) Added a DI provider with an instance of HammerGestureConfig per https://github.com/angular/angular/issues/10541#issuecomment-300761387
2) App Modules need to import CarouselModule using static forRoot() method. This may be considered a "breaking change"
3) Ignore vertical pans in the onPan function, where y velocity is greater than x velocity.
This PR fixes vertical scrolling issues on mobile.
1) Added a DI provider with an instance of HammerGestureConfig per https://github.com/angular/angular/issues/10541#issuecomment-300761387
2) App Modules need to import CarouselModule using static forRoot() method. This may be considered a "breaking change"
3) Ignore vertical pans in the onPan function, where y velocity is greater than x velocity.