ksachdeva/angular-swiper

if used with sidemenu app.. it interferes

hopye opened this issue · 3 comments

hopye commented

hi there, trying to use the swiper in my home view with some pictures. the thing is this app uses a side menu. so .. when scrolling the swiper area.. it also pulls the sidemenu..

is there a way to prevent the sidemenu from opening or closing while interacting with the swiper ?

brh55 commented

It shouldn't behave like that as swiper translates the inner content of the container. Can you provide implementation code?

Best fix I could find was to add ' drag-content="false" ' to your ' ' tag

Or you can use edge-drag-threshold="25"