Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.
This repository was archived by the owner on May 5, 2021. It is now read-only.

Natural scroll on mobile #40

@grocc

Description

@grocc

Hello everybody,
i have a slider that take the full width of the page.
If i set swipe with onTouch true the slider work fine, but i can't scroll down or up the page if i touch the slider.

I also try to react to the swipe by myself
$(".carusel").swipe({
excludedElements: "button, input, select, textarea, .noSwipe",
swipeLeft: function() {
$('.carusel').trigger('next', 4);
},
swipeRight: function() {
$('.carusel').trigger('prev', 4);
},
});

but giving the noSwipe class to the slider or the slide obviously the swipe is not more triggered.

How can i fix it? I need both the swipe on the slider (left, right) and the normal scrolling of the page to navigate in the other content.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions