joselcvarela / ng2-carouselamos

Simple carousel/slider for angular 2.
40 stars 35 forks source link

Problem with drag and select #21

Open GusAV opened 6 years ago

GusAV commented 6 years ago

If you try to use this carusel for a select type of component, it won't work properly, but I found that if you comptely ignore the "snap" function, it works perfectly.

The problem for me now is, that I need to use it in a project and all I need is to comment the snap function trigger from mouse up trigger. But when I try to link my fork to my package.json, it don't get the files needed for this component to work. How to make that work?

You can also have a new variable for the component so that we can choose to have the snap function working or not, just a [snap] two way bind boolean should do the work.

I can make a PR of that if you want.

CybrZr00 commented 6 years ago

A [snap]="true / false" binding would be great.