Skip to content

Slide bug with touch scroll #465

@TheDelta

Description

@TheDelta

What is the expected behavior?

When I touch the image, it should not move.
When I touch and move down / up, it shouldn't try to switch to the next item.

What is the current behavior?

Once i touch and move, it will try to slide to the next

What are the steps to reproduce?

https://stackblitz.com/edit/ngx-gallery

open the starter with a smartphone and try to scroll down in google chrome.

Another way to see the odd slide glitch is to open the lightbox, an touch and move up/down at the right side (below the arrow button).

What is the use-case or motivation for changing an existing behavior?

To support a nice user experience, it slide unless a tiny threshold is reached to left/right slide.

Which versions are you using for the following packages?

(the ones in the StackBlitz starter)

Is there anything else we should know?

Eventually this makes sense to fix with the replacement of hammerjs (#452) or it might be already fixed with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions