Topic: Carousel (Multi-item) swipe on mobile not working
                  
                  AnnaK
                  premium
                  asked 5 years ago
                
Hello,
I have a multi-item carousel in use and have set up the mobile touch as described here: https://mdbootstrap.com/docs/angular/advanced/mobile/#usage but when I test it on my phone, nothing happens when I swipe on the slide. Could there be something that I still need to do in order for it to work?
I have next- and previous buttons that work (this.el.nextSlide(); and this.el.previousSlide();)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Resolved
Specification of the issue
              - ForumUser: Premium
 - Premium support: Yes
 - Technology: MDB Angular
 - MDB Version: 9.0.1
 - Device: Samsung Galaxy S7
 - Browser: Firefox
 - OS: Andoid
 - Provided sample code: No
 - Provided link: Yes
 
AnnaK premium commented 5 years ago
The Live Preview button on the mobile touch instructions page takes me to a JavaScript example, and it is not possible to change it to Angular. Why? Although I am PRO member.
I am using Angular 9.
Arkadiusz Idzikowski staff commented 5 years ago
Did you import HammerModule in your
app.modulefile?AnnaK premium commented 5 years ago
I had not imported the HammerModule. Did not think of it as it was not in the instructions. But now I added it and it works :) Thank you.