Enabling left and right swipe with angular-snap.js

163 views Asked by At

I am using the Angular Snap.js library to enable a right and left swipe to perform certain actions on each side. The right side is working well, whereas I can't perform any action on the left side. The left side is open; I can't perform any action on that side. I also tested the example from the side and it is not working either.

Can anyone help? I am using Chrome 60 and Firefox 54. Thanks.

Here my code:

<div snap-drawer="left">
                    <div snap-close snap-id="'case'+customerCase.id" class="deleteCancelButton">
                        {{'list.cancel'| translate}}
                    </div>
                </div>
                <div snap-drawer="right">
                    <div snap-close snap-id="'case'+customerCase.id" class="deleteCancelButton">
                        {{'list.cancel'| translate}}
                    </div>
                    <div ng-click="delete(customerCase)" class="deleteButton">
                        {{'list.delete'| translate}}
                    </div>
                </div>

I can swipe to the left and right. But I can't click on the left side. enter image description here

0

There are 0 answers